Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 227.2 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 67.91 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1275, allocations: 61.05 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004718/0.1322, allocations: 2.638 MB / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1338, allocations: 0.7098 MB / 0.5194 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.1341, allocations: 7.938 kB / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.1343, allocations: 39.53 kB / 0.5194 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.1346, allocations: 87.2 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1349, allocations: 87.88 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.1354, allocations: 334.5 kB / 0.5199 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.1356, allocations: 69.91 kB / 0.52 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1358, allocations: 123.6 kB / 0.5201 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1361, allocations: 131.3 kB / 0.5202 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.1361, allocations: 24 kB / 0.5203 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.457e-05/0.1361, allocations: 20 kB / 0.5203 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.1362, allocations: 67.75 kB / 0.5203 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1364, allocations: 139.3 kB / 0.5205 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.1368, allocations: 302.7 kB / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1368, allocations: 0 / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1368, allocations: 0 / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1368, allocations: 0 / 0.5208 GB, free: 2.57 MB / 398.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.0009956/0.1378, allocations: 0.5207 MB / 0.5213 GB, free: 2.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1378, allocations: 12.03 kB / 0.5213 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.1379, allocations: 58.73 kB / 0.5213 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.138, allocations: 32.75 kB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1384, allocations: 202 kB / 0.5216 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1384, allocations: 16.88 kB / 0.5216 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.1385, allocations: 40.25 kB / 0.5216 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.139, allocations: 273.3 kB / 0.5219 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.139, allocations: 11.94 kB / 0.5219 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.139, allocations: 8 kB / 0.5219 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.139, allocations: 4 kB / 0.5219 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.1395, allocations: 195.7 kB / 0.5221 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.1414, allocations: 1.238 MB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.1419, allocations: 238.5 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1421, allocations: 91.39 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1421, allocations: 4 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.1422, allocations: 46.5 kB / 0.5237 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.156e-06/0.1422, allocations: 3.984 kB / 0.5237 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002591/0.1448, allocations: 1.197 MB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1449, allocations: 136.5 kB / 0.525 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.1451, allocations: 232.9 kB / 0.5252 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1452, allocations: 33.7 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1453, allocations: 176.6 kB / 0.5254 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1454, allocations: 119 kB / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.1455, allocations: 66.12 kB / 0.5256 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1457, allocations: 338.8 kB / 0.5259 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.146, allocations: 104.8 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1463, allocations: 237.4 kB / 0.5262 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.1469, allocations: 362 kB / 0.5266 GB, free: 12.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1469, allocations: 4.312 kB / 0.5266 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007944/0.1477, allocations: 401.6 kB / 0.5269 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1477, allocations: 15.95 kB / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1477, allocations: 8 kB / 0.527 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.1478, allocations: 8 kB / 0.527 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.1482, allocations: 99.88 kB / 0.5271 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.1482, allocations: 11.94 kB / 0.5271 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1484, allocations: 31.88 kB / 0.5271 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1484, allocations: 16 kB / 0.5271 GB, free: 11.51 MB / 414.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.0001713/0.1486, allocations: 157.7 kB / 0.5273 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1487, allocations: 27.86 kB / 0.5273 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.1488, allocations: 29.7 kB / 0.5273 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1488, allocations: 4 kB / 0.5273 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1488, allocations: 4 kB / 0.5273 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1488, allocations: 3.938 kB / 0.5273 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.1504, allocations: 0.9495 MB / 0.5283 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1504, allocations: 0 / 0.5283 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.1507, allocations: 79.89 kB / 0.5284 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.1507, allocations: 8.062 kB / 0.5284 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.1508, allocations: 11.92 kB / 0.5284 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1508, allocations: 4 kB / 0.5284 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1508, allocations: 4 kB / 0.5284 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1518, allocations: 0.7328 MB / 0.5291 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1519, allocations: 27.75 kB / 0.5291 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.1519, allocations: 12.28 kB / 0.5291 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.1522, allocations: 19.98 kB / 0.5292 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.1523, allocations: 31.89 kB / 0.5292 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1523, allocations: 16.17 kB / 0.5292 GB, free: 9.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1524, allocations: 156.5 kB / 0.5293 GB, free: 9.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1524, allocations: 0 / 0.5293 GB, free: 9.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005/0.1529, allocations: 64 kB / 0.5294 GB, free: 9.082 MB / 414.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.001429/0.1544, allocations: 1.274 MB / 0.5307 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.155, allocations: 268.3 kB / 0.5309 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.155, allocations: 0 / 0.5309 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1553, allocations: 127.7 kB / 0.531 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.156, allocations: 37.41 kB / 0.5311 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.1614, allocations: 3.506 MB / 0.5345 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.1619, allocations: 0.7758 MB / 0.5352 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.162, allocations: 34.95 kB / 0.5353 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1622, allocations: 91.41 kB / 0.5354 GB, free: 2.691 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1622, allocations: 0 / 0.5354 GB, free: 2.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2712/0.4333, allocations: 5.691 MB / 0.5409 GB, free: 28.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.65, allocations: 1.125 kB / 0.5409 GB, free: 28.12 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.731852903030813]