Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 77 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 62.45 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004231/0.1234, allocations: 2.681 MB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1251, allocations: 0.7168 MB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.1255, allocations: 15.88 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1258, allocations: 31.72 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1261, allocations: 71.39 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.1265, allocations: 87.91 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.127, allocations: 318.5 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.1272, allocations: 73.8 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.1275, allocations: 115.6 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1277, allocations: 127.3 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.1278, allocations: 16 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.1279, allocations: 23.94 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1279, allocations: 51.77 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1281, allocations: 139.2 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1284, allocations: 283.2 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1284, allocations: 4 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1284, allocations: 0 / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1284, allocations: 7.938 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009942/0.1294, allocations: 0.5846 MB / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1295, allocations: 12.88 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.1296, allocations: 62.72 kB / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.1299, allocations: 56.48 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1302, allocations: 272.7 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1302, allocations: 16.94 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.1303, allocations: 28.38 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1308, allocations: 282 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.1308, allocations: 15.88 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1309, allocations: 8 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1309, allocations: 8 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.1313, allocations: 179.8 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1329, allocations: 1.313 MB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1334, allocations: 246.5 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.1336, allocations: 99.33 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.1336, allocations: 12 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1337, allocations: 34.56 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.175e-06/0.1337, allocations: 0 / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002627/0.1363, allocations: 1.565 MB / 488.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.1364, allocations: 136.5 kB / 489 MB, free: 11.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.1366, allocations: 232.9 kB / 489.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1367, allocations: 33.7 kB / 489.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1368, allocations: 173.5 kB / 489.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.1369, allocations: 122.3 kB / 489.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.137, allocations: 78.03 kB / 489.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1371, allocations: 338.8 kB / 490 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.1374, allocations: 96.81 kB / 490.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1377, allocations: 233.5 kB / 490.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.1384, allocations: 381 kB / 490.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1384, allocations: 4 kB / 490.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007389/0.1391, allocations: 388.8 kB / 491 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1391, allocations: 4 kB / 491 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1392, allocations: 4 kB / 491.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1392, allocations: 8 kB / 491.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.1396, allocations: 103.8 kB / 491.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1396, allocations: 4 kB / 491.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1398, allocations: 36.2 kB / 491.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1399, allocations: 16 kB / 491.2 MB, free: 9.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.14, allocations: 157.6 kB / 491.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1401, allocations: 31.7 kB / 491.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.1402, allocations: 29.95 kB / 491.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1402, allocations: 4 kB / 491.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1402, allocations: 4 kB / 491.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1402, allocations: 7.969 kB / 491.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.1416, allocations: 0.9859 MB / 492.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1417, allocations: 4 kB / 492.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.1421, allocations: 87.88 kB / 492.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1421, allocations: 0 / 492.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1421, allocations: 11.94 kB / 492.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1421, allocations: 4.281 kB / 492.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1421, allocations: 4.062 kB / 492.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.1431, allocations: 0.7294 MB / 493.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1431, allocations: 100.7 kB / 493.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.1432, allocations: 15.98 kB / 493.4 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1435, allocations: 19.98 kB / 493.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.1436, allocations: 23.97 kB / 493.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1436, allocations: 12 kB / 493.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1437, allocations: 156.5 kB / 493.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1437, allocations: 0 / 493.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.1442, allocations: 71.94 kB / 493.7 MB, free: 6.531 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.1454, allocations: 1.27 MB / 494.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.146, allocations: 268.3 kB / 495.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.146, allocations: 4.125 kB / 495.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.1463, allocations: 131.8 kB / 495.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.147, allocations: 40.59 kB / 495.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.1513, allocations: 3.625 MB / 499 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1517, allocations: 0.7722 MB / 499.8 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.1518, allocations: 34.95 kB / 499.8 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.152, allocations: 91.41 kB / 499.9 MB, free: 24 kB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.152, allocations: 0 / 499.9 MB, free: 24 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.1731, allocations: 4.948 MB / 0.493 GB, free: 11.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1733, allocations: 192 kB / 0.4932 GB, free: 10.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.124, allocations: 3.938 kB / 0.4932 GB, free: 10.9 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches