Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.001362/0.001362, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001739/0.001739, allocations: 223.1 kB / 23 MB, free: 4.973 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.534/1.534, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2673/0.2673, allocations: 44.26 MB / 330.3 MB, free: 9.312 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.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",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.002589/0.002589, allocations: 73.61 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1232, allocations: 61.04 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004461/0.1276, allocations: 2.251 MB / 0.5183 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1297, allocations: 0.964 MB / 0.5193 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.1301, allocations: 11.88 kB / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.1306, allocations: 115.3 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1309, allocations: 107.3 kB / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009643/0.1319, allocations: 291.4 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009709/0.1329, allocations: 0.729 MB / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1331, allocations: 45.25 kB / 0.5205 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.1335, allocations: 295.1 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.1341, allocations: 326.7 kB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.1343, allocations: 64 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1344, allocations: 60 kB / 0.5212 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.1346, allocations: 195.4 kB / 0.5214 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.1349, allocations: 211 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006693/0.1355, allocations: 0.5759 MB / 0.5222 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1356, allocations: 0 / 0.5222 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1356, allocations: 0 / 0.5222 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.1356, allocations: 0 / 0.5222 GB, free: 0.9375 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002508/0.1381, allocations: 0.8986 MB / 0.5231 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.1381, allocations: 8.031 kB / 0.5231 GB, free: 0 / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.1383, allocations: 86.72 kB / 0.5232 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1384, allocations: 60.66 kB / 0.5232 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.1391, allocations: 325.1 kB / 0.5235 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006524/0.1398, allocations: 0.6747 MB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1399, allocations: 44.33 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.1421, allocations: 0.8202 MB / 0.525 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1422, allocations: 0 / 0.525 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.1422, allocations: 16 kB / 0.5251 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.1422, allocations: 12 kB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003916/0.1462, allocations: 1.212 MB / 0.5262 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.1495, allocations: 1.914 MB / 0.5281 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.1524, allocations: 0.7404 MB / 0.5288 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.1541, allocations: 471.3 kB / 0.5293 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.1541, allocations: 8 kB / 0.5293 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1542, allocations: 46.44 kB / 0.5293 GB, free: 9.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.415e-06/0.1542, allocations: 0 / 0.5293 GB, free: 9.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.3055/0.4597, allocations: 15.52 MB / 0.5445 GB, free: 28.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4597, allocations: 98.52 kB / 0.5446 GB, free: 28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.4602, allocations: 419.5 kB / 0.545 GB, free: 27.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.4604, allocations: 46.55 kB / 0.545 GB, free: 27.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4605, allocations: 222.2 kB / 0.5452 GB, free: 27.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.4608, allocations: 427.6 kB / 0.5457 GB, free: 27.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/0.4613, allocations: 200.9 kB / 0.5458 GB, free: 27.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4614, allocations: 374.1 kB / 0.5462 GB, free: 26.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.4651, allocations: 1.352 MB / 0.5475 GB, free: 26.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.4691, allocations: 1.501 MB / 0.549 GB, free: 25.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007246/0.4764, allocations: 2.461 MB / 0.5514 GB, free: 24.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.4764, allocations: 1.125 kB / 0.5514 GB, free: 24.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008748/0.4851, allocations: 2.86 MB / 0.5542 GB, free: 23.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4852, allocations: 6 kB / 0.5542 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4852, allocations: 7.5 kB / 0.5542 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/0.4852, allocations: 9.062 kB / 0.5542 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/0.4879, allocations: 409.5 kB / 0.5546 GB, free: 23.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.4879, allocations: 10.33 kB / 0.5546 GB, free: 23.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.49, allocations: 219.8 kB / 0.5548 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.4902, allocations: 44.19 kB / 0.5549 GB, free: 23.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0004887/0.4906, allocations: 233.4 kB / 0.5551 GB, free: 23.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.4909, allocations: 66.42 kB / 0.5551 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.4911, allocations: 116.3 kB / 0.5553 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.4911, allocations: 12.97 kB / 0.5553 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.4911, allocations: 0 / 0.5553 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.4912, allocations: 7 kB / 0.5553 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.5031, allocations: 4.863 MB / 0.56 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.5031, allocations: 22.33 kB / 0.56 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.5046, allocations: 358.8 kB / 0.5604 GB, free: 20.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-05/0.5047, allocations: 26.66 kB / 0.5604 GB, free: 20.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/0.5048, allocations: 47.59 kB / 0.5605 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-05/0.5048, allocations: 51.23 kB / 0.5605 GB, free: 20.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/0.5048, allocations: 32.53 kB / 0.5605 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007346/0.5122, allocations: 3.121 MB / 0.5636 GB, free: 19.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.5127, allocations: 172.5 kB / 0.5637 GB, free: 18.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.5129, allocations: 52.53 kB / 0.5638 GB, free: 18.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5142, allocations: 199.7 kB / 0.564 GB, free: 18.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004579/0.5147, allocations: 226.8 kB / 0.5642 GB, free: 18.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5148, allocations: 60.77 kB / 0.5643 GB, free: 18.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002886/0.5151, allocations: 275.5 kB / 0.5645 GB, free: 18.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5151, allocations: 1.375 kB / 0.5645 GB, free: 18.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5162, allocations: 236 kB / 0.5648 GB, free: 18.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.007394/0.5235, allocations: 3.732 MB / 0.5684 GB, free: 16.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006598/0.5301, allocations: 2.179 MB / 0.5705 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.576e-05/0.5302, allocations: 3.75 kB / 0.5705 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.534, allocations: 1.072 MB / 0.5716 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.5355, allocations: 147.6 kB / 0.5717 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/0.5599, allocations: 12.48 MB / 0.5839 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5602, allocations: 329.8 kB / 0.5842 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.5613, allocations: 206.8 kB / 0.5844 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.5619, allocations: 219.4 kB / 0.5846 GB, free: 2.422 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5619, allocations: 0 / 0.5846 GB, free: 2.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.6202, allocations: 24.05 MB / 0.6081 GB, free: 10.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.86, allocations: 4.062 kB / 0.6081 GB, free: 10.3 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000598444 ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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: 16.188378581311554]