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.001338/0.001338, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001471/0.001471, allocations: 216 kB / 23 MB, free: 5.004 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.434/1.434, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2283/0.2283, allocations: 44.24 MB / 330.3 MB, free: 9.52 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="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.002367/0.002367, allocations: 74.55 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1212, allocations: 61.03 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004612/0.1258, allocations: 2.642 MB / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1273, allocations: 0.7059 MB / 0.5194 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.1275, allocations: 7.938 kB / 0.5194 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1277, allocations: 43.52 kB / 0.5194 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1279, allocations: 87.27 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1283, allocations: 91.81 kB / 0.5196 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.1287, allocations: 326.6 kB / 0.5199 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1289, allocations: 69.91 kB / 0.52 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1292, allocations: 127.6 kB / 0.5201 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1294, allocations: 131.3 kB / 0.5202 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.1294, allocations: 24 kB / 0.5203 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.471e-05/0.1295, allocations: 24 kB / 0.5203 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.1295, allocations: 63.7 kB / 0.5203 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1297, allocations: 139.3 kB / 0.5205 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1301, allocations: 302.7 kB / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1301, allocations: 0 / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1301, allocations: 0 / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1301, 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.0009879/0.1311, allocations: 0.5168 MB / 0.5213 GB, free: 2.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1312, allocations: 16.02 kB / 0.5213 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.001e-05/0.1312, allocations: 62.67 kB / 0.5213 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.1313, allocations: 32.75 kB / 0.5214 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.1317, allocations: 206 kB / 0.5216 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.1317, allocations: 16.88 kB / 0.5216 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.1318, allocations: 36.31 kB / 0.5216 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.1324, allocations: 281.2 kB / 0.5219 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1324, allocations: 11.94 kB / 0.5219 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.1324, allocations: 12 kB / 0.5219 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1324, allocations: 4 kB / 0.5219 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.1329, allocations: 183.8 kB / 0.5221 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1348, allocations: 1.238 MB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.1352, allocations: 238.5 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1354, allocations: 99.39 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1355, allocations: 3.984 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.1355, allocations: 38.56 kB / 0.5237 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.695e-06/0.1355, allocations: 0 / 0.5237 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002662/0.1382, allocations: 1.19 MB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1383, allocations: 136.5 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1385, allocations: 237 kB / 0.5252 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1386, allocations: 33.64 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1387, allocations: 184.6 kB / 0.5254 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1388, allocations: 119 kB / 0.5255 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1389, allocations: 70.12 kB / 0.5256 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1391, allocations: 338.8 kB / 0.5259 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1393, allocations: 96.81 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.1397, allocations: 233.5 kB / 0.5262 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.1403, allocations: 377 kB / 0.5266 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1403, allocations: 4 kB / 0.5266 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008059/0.1411, allocations: 396.9 kB / 0.527 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1412, allocations: 4 kB / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1412, allocations: 8 kB / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1412, allocations: 4 kB / 0.527 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.1416, allocations: 100.2 kB / 0.5271 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.1416, allocations: 15.98 kB / 0.5271 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1418, allocations: 32.19 kB / 0.5271 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.1419, allocations: 20 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.0001698/0.142, allocations: 149.7 kB / 0.5273 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1421, allocations: 27.86 kB / 0.5273 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.1422, allocations: 37.7 kB / 0.5273 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1422, allocations: 4 kB / 0.5273 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1422, allocations: 4 kB / 0.5273 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1422, allocations: 7.984 kB / 0.5274 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1439, allocations: 0.9534 MB / 0.5283 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1439, allocations: 0 / 0.5283 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.1442, allocations: 80.11 kB / 0.5284 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1442, allocations: 4 kB / 0.5284 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1443, allocations: 11.94 kB / 0.5284 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1443, allocations: 0 / 0.5284 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1443, allocations: 4 kB / 0.5284 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1454, allocations: 0.7406 MB / 0.5291 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1454, allocations: 31.73 kB / 0.5291 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.1455, allocations: 12 kB / 0.5291 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.1458, allocations: 15.98 kB / 0.5292 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.1458, allocations: 27.95 kB / 0.5292 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1459, allocations: 8 kB / 0.5292 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.146, allocations: 164.5 kB / 0.5293 GB, free: 9.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.146, allocations: 0 / 0.5293 GB, free: 9.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.1465, allocations: 68 kB / 0.5294 GB, free: 9.074 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.001467/0.148, allocations: 1.266 MB / 0.5306 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.1487, allocations: 267.6 kB / 0.5309 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1487, allocations: 0.8125 kB / 0.5309 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.149, allocations: 128.8 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.000694/0.1496, allocations: 48.7 kB / 0.5311 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.1548, allocations: 3.49 MB / 0.5345 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.1552, allocations: 0.7758 MB / 0.5352 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1553, allocations: 34.95 kB / 0.5353 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1555, allocations: 91.41 kB / 0.5354 GB, free: 2.695 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1555, allocations: 4 kB / 0.5354 GB, free: 2.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.256/0.4115, allocations: 5.681 MB / 0.5409 GB, free: 28.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 11.61 kB / 0.5409 GB, free: 28.15 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 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.csv","/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] "Error: Could not read variable speed4.s in file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.404674208002689]