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.001589/0.001589, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002065/0.002065, allocations: 209.5 kB / 22.99 MB, free: 4.602 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.397/1.397, allocations: 207.7 MB / 233.8 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 / 330.3 MB, free: 9.41 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.002356/0.002356, allocations: 69.78 kB / 467.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1213, allocations: 61.04 MB / 0.5161 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004085/0.1254, allocations: 2.467 MB / 0.5185 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1266, allocations: 0.6671 MB / 0.5192 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1267, allocations: 11.88 kB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.1269, allocations: 39.59 kB / 0.5192 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1271, allocations: 87.2 kB / 0.5193 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1273, allocations: 91.81 kB / 0.5194 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.1277, allocations: 330.5 kB / 0.5197 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1279, allocations: 57.92 kB / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1281, allocations: 139.5 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1282, allocations: 111.4 kB / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1283, allocations: 24 kB / 0.52 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.1283, allocations: 24 kB / 0.5201 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.1284, allocations: 59.77 kB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1285, allocations: 115.4 kB / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1289, allocations: 310.6 kB / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1289, allocations: 0 / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1289, allocations: 0 / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1289, allocations: 0 / 0.5205 GB, free: 2.695 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.0009242/0.1298, allocations: 0.5207 MB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1299, allocations: 8.031 kB / 0.521 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.1299, allocations: 54.73 kB / 0.5211 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.13, allocations: 36.73 kB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1304, allocations: 209.9 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1304, allocations: 16.88 kB / 0.5213 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.1304, allocations: 32.33 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.131, allocations: 285.2 kB / 0.5216 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.131, allocations: 4 kB / 0.5217 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.131, allocations: 12 kB / 0.5217 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.131, allocations: 4 kB / 0.5217 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.1315, allocations: 179.8 kB / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1332, allocations: 1.207 MB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1336, allocations: 230.4 kB / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1338, allocations: 99.52 kB / 0.5233 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1339, allocations: 4 kB / 0.5233 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.1339, allocations: 38.56 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.1339, allocations: 0 / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.0025/0.1364, allocations: 1.208 MB / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.1365, allocations: 136.5 kB / 0.5247 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1367, allocations: 226.2 kB / 0.5249 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1367, allocations: 33.7 kB / 0.5249 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1369, allocations: 180.5 kB / 0.5251 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.137, allocations: 130.9 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1371, allocations: 70.09 kB / 0.5253 GB, free: 13.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1373, allocations: 342.8 kB / 0.5256 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.1375, allocations: 96.81 kB / 0.5257 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.1379, allocations: 233.5 kB / 0.5259 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.1385, allocations: 372.7 kB / 0.5263 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1385, allocations: 4 kB / 0.5263 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008024/0.1393, allocations: 401.2 kB / 0.5267 GB, free: 11.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1393, allocations: 4 kB / 0.5267 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1393, allocations: 4 kB / 0.5267 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1394, allocations: 8 kB / 0.5267 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.1397, allocations: 103.8 kB / 0.5268 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1397, allocations: 4 kB / 0.5268 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.14, allocations: 32.28 kB / 0.5268 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.14, allocations: 19.94 kB / 0.5268 GB, free: 11.68 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.0001658/0.1402, allocations: 157.6 kB / 0.527 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1403, allocations: 31.81 kB / 0.527 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.1403, allocations: 33.7 kB / 0.5271 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1403, allocations: 4 kB / 0.5271 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1403, allocations: 4 kB / 0.5271 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1403, allocations: 0 / 0.5271 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.1419, allocations: 0.9184 MB / 0.528 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1419, allocations: 0 / 0.528 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.1423, allocations: 79.89 kB / 0.528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1423, allocations: 288 / 0.528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.1423, allocations: 15.98 kB / 0.5281 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1423, allocations: 8.438 kB / 0.5281 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1423, allocations: 3.938 kB / 0.5281 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1433, allocations: 0.7328 MB / 0.5288 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1434, allocations: 35.81 kB / 0.5288 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.1434, allocations: 11.94 kB / 0.5288 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.1437, allocations: 19.98 kB / 0.5288 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.1438, allocations: 23.95 kB / 0.5289 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1438, allocations: 11.98 kB / 0.5289 GB, free: 9.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.144, allocations: 152.5 kB / 0.529 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.144, allocations: 0 / 0.529 GB, free: 9.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1446, allocations: 72 kB / 0.5291 GB, free: 9.277 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.001517/0.1461, allocations: 1.27 MB / 0.5303 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007376/0.1468, allocations: 260.4 kB / 0.5306 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1468, allocations: 0 / 0.5306 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.1471, allocations: 127.8 kB / 0.5307 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.1478, allocations: 44.06 kB / 0.5307 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.1532, allocations: 3.505 MB / 0.5342 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1534, allocations: 172 kB / 0.5343 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.1536, allocations: 38.89 kB / 0.5344 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1538, allocations: 95.41 kB / 0.5345 GB, free: 3.504 MB / 414.1 MB Notification: Performance of SimCode: time 2.395e-06/0.1538, allocations: 0 / 0.5345 GB, free: 3.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/0.4048, allocations: 5.948 MB / 0.5403 GB, free: 28.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 7.859 kB / 0.5403 GB, free: 28.38 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.07087830081582]