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.001649/0.001649, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002138/0.002138, allocations: 212.6 kB / 23.77 MB, free: 4.551 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.507/1.507, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2336/0.2336, allocations: 44.26 MB / 331.1 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="cs",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.0024/0.0024, allocations: 73.62 kB / 468.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1167, allocations: 61.04 MB / 0.5169 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004247/0.121, allocations: 2.462 MB / 0.5193 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1224, allocations: 0.6631 MB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.1226, allocations: 11.94 kB / 0.52 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1227, allocations: 47.53 kB / 0.52 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.123, allocations: 83.2 kB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1233, allocations: 87.81 kB / 0.5202 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.1237, allocations: 330.5 kB / 0.5205 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1239, allocations: 65.92 kB / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.1242, allocations: 143.5 kB / 0.5207 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1244, allocations: 131.4 kB / 0.5208 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.1244, allocations: 20 kB / 0.5208 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.1245, allocations: 24 kB / 0.5208 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.1246, allocations: 55.72 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1247, allocations: 123.4 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.1251, allocations: 302.7 kB / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1251, allocations: 0 / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1251, allocations: 0 / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1251, allocations: 0 / 0.5213 GB, free: 2.664 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.0009699/0.1261, allocations: 0.5168 MB / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1261, allocations: 8.031 kB / 0.5218 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.552e-05/0.1261, allocations: 12.62 kB / 0.5218 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.1262, allocations: 58.73 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.1263, allocations: 32.75 kB / 0.5219 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1267, allocations: 206 kB / 0.5221 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1267, allocations: 16.88 kB / 0.5221 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.1267, allocations: 36.31 kB / 0.5222 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.1273, allocations: 281.1 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.1273, allocations: 4 kB / 0.5224 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1273, allocations: 12 kB / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1274, allocations: 8 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.1278, allocations: 187.7 kB / 0.5226 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1297, allocations: 1.188 MB / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.1301, allocations: 238.5 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1304, allocations: 99.38 kB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1304, allocations: 4 kB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1304, allocations: 38.56 kB / 0.5242 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.1304, allocations: 0 / 0.5242 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002685/0.1331, allocations: 1.201 MB / 0.5253 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.1332, allocations: 144.5 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1335, allocations: 229 kB / 0.5257 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1335, allocations: 29.7 kB / 0.5257 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1336, allocations: 176.6 kB / 0.5259 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1338, allocations: 122.9 kB / 0.526 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1339, allocations: 70.14 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1341, allocations: 334.8 kB / 0.5264 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1343, allocations: 104.8 kB / 0.5265 GB, free: 12.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1347, allocations: 237.4 kB / 0.5267 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.1354, allocations: 365.8 kB / 0.5271 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1354, allocations: 3.938 kB / 0.5271 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008292/0.1362, allocations: 401.2 kB / 0.5274 GB, free: 11.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1362, allocations: 8 kB / 0.5275 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1362, allocations: 4.094 kB / 0.5275 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1363, allocations: 12.34 kB / 0.5275 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.1367, allocations: 104.1 kB / 0.5276 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.1367, allocations: 8 kB / 0.5276 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1369, allocations: 35.88 kB / 0.5276 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.1369, allocations: 19.98 kB / 0.5276 GB, free: 11.64 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.0001809/0.1371, allocations: 157.7 kB / 0.5278 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1372, allocations: 27.8 kB / 0.5278 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.1373, allocations: 33.7 kB / 0.5278 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1373, allocations: 8 kB / 0.5278 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1373, allocations: 0 / 0.5278 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1373, allocations: 0 / 0.5278 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1389, allocations: 0.9261 MB / 0.5288 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1389, allocations: 8.062 kB / 0.5288 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.1394, allocations: 71.89 kB / 0.5288 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.1394, allocations: 7.938 kB / 0.5288 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.1394, allocations: 11.98 kB / 0.5288 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1394, allocations: 4 kB / 0.5289 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1394, allocations: 0 / 0.5289 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1405, allocations: 0.7367 MB / 0.5296 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.1406, allocations: 23.81 kB / 0.5296 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.1406, allocations: 12 kB / 0.5296 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.141, allocations: 19.98 kB / 0.5296 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.141, allocations: 23.95 kB / 0.5296 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.1411, allocations: 15.98 kB / 0.5297 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1412, allocations: 152.5 kB / 0.5298 GB, free: 9.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 7.938 kB / 0.5298 GB, free: 9.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007548/0.142, allocations: 68.19 kB / 0.5299 GB, free: 9.242 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.002292/0.1443, allocations: 1.266 MB / 0.5311 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1454, allocations: 268.2 kB / 0.5314 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1454, allocations: 0.8125 kB / 0.5314 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.1459, allocations: 128 kB / 0.5315 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.1471, allocations: 40.55 kB / 0.5315 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.1551, allocations: 3.498 MB / 0.535 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1554, allocations: 164.1 kB / 0.5351 GB, free: 3.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.1556, allocations: 38.89 kB / 0.5351 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.1558, allocations: 91.41 kB / 0.5352 GB, free: 3.48 MB / 414.1 MB Notification: Performance of SimCode: time 1.243e-06/0.1558, allocations: 0 / 0.5352 GB, free: 3.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2363/0.3921, allocations: 5.705 MB / 0.5408 GB, free: 28.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.36, allocations: 5.406 kB / 0.5408 GB, free: 28.85 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.578708554967307]