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.001395/0.001395, allocations: 111.7 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.001861/0.001861, allocations: 213.1 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.364/1.364, allocations: 207.6 MB / 233.8 MB, free: 10 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.212/0.212, allocations: 44.24 MB / 330.3 MB, free: 9.531 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.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.002148/0.002148, allocations: 71.89 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1214, allocations: 61.03 MB / 0.5161 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003701/0.1251, allocations: 2.438 MB / 0.5185 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1268, allocations: 0.9989 MB / 0.5195 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.127, allocations: 15.81 kB / 0.5195 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1274, allocations: 123.2 kB / 0.5196 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1276, allocations: 103.3 kB / 0.5197 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.1282, allocations: 287.5 kB / 0.52 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007332/0.129, allocations: 0.729 MB / 0.5207 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1291, allocations: 45.25 kB / 0.5207 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.1294, allocations: 311 kB / 0.521 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.1299, allocations: 338.8 kB / 0.5214 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.1299, allocations: 60 kB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.13, allocations: 64 kB / 0.5215 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1302, allocations: 199.4 kB / 0.5217 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.1304, allocations: 246.7 kB / 0.5219 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.131, allocations: 0.5603 MB / 0.5225 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.131, allocations: 4 kB / 0.5225 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.131, allocations: 0 / 0.5225 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.131, allocations: 0 / 0.5225 GB, free: 0.8398 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.002124/0.1332, allocations: 0.8754 MB / 0.5233 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1332, allocations: 8.031 kB / 0.5233 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.1333, allocations: 86.72 kB / 0.5234 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1334, allocations: 64.66 kB / 0.5235 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.134, allocations: 312.9 kB / 0.5238 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/0.1345, allocations: 0.6786 MB / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.1346, allocations: 44.33 kB / 0.5245 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.1365, allocations: 0.8085 MB / 0.5253 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1365, allocations: 0 / 0.5253 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.1366, allocations: 16 kB / 0.5253 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1366, allocations: 12 kB / 0.5253 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.1399, allocations: 1.208 MB / 0.5265 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.1427, allocations: 2.022 MB / 0.5284 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.1456, allocations: 0.7661 MB / 0.5292 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.1469, allocations: 453.3 kB / 0.5296 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.147, allocations: 11.94 kB / 0.5296 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1471, allocations: 42.5 kB / 0.5297 GB, free: 9.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.715e-06/0.1471, allocations: 0 / 0.5297 GB, free: 9.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.2746/0.4216, allocations: 15.45 MB / 0.5448 GB, free: 28.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4217, allocations: 96.17 kB / 0.5449 GB, free: 28.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.4221, allocations: 387.7 kB / 0.5452 GB, free: 27.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.4223, allocations: 46.33 kB / 0.5453 GB, free: 27.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4224, allocations: 229.7 kB / 0.5455 GB, free: 27.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.4227, allocations: 424.2 kB / 0.5459 GB, free: 27.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.4232, allocations: 194.5 kB / 0.5461 GB, free: 27.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.4233, allocations: 376.8 kB / 0.5464 GB, free: 26.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.4265, allocations: 1.341 MB / 0.5477 GB, free: 26.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.4298, allocations: 1.495 MB / 0.5492 GB, free: 25.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.4358, allocations: 2.438 MB / 0.5516 GB, free: 24.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4359, allocations: 1.5 kB / 0.5516 GB, free: 24.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006993/0.4428, allocations: 2.833 MB / 0.5544 GB, free: 23.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4429, allocations: 7.094 kB / 0.5544 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4429, allocations: 3.344 kB / 0.5544 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.4429, allocations: 11.09 kB / 0.5544 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.4456, allocations: 409.3 kB / 0.5548 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.4456, allocations: 11.7 kB / 0.5548 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.4476, allocations: 217.6 kB / 0.555 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.4477, allocations: 40.53 kB / 0.555 GB, free: 23.55 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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.0004572/0.4482, allocations: 232.2 kB / 0.5552 GB, free: 23.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.4484, allocations: 72.53 kB / 0.5553 GB, free: 23.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.4486, allocations: 113.1 kB / 0.5554 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4486, allocations: 12.08 kB / 0.5554 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.4486, allocations: 1.312 kB / 0.5554 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.4486, allocations: 6.922 kB / 0.5554 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.4595, allocations: 5.207 MB / 0.5605 GB, free: 20.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.4595, allocations: 23.25 kB / 0.5606 GB, free: 20.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.461, allocations: 355.7 kB / 0.5609 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.982e-05/0.461, allocations: 28.52 kB / 0.5609 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/0.4611, allocations: 47.66 kB / 0.561 GB, free: 20.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-05/0.4612, allocations: 46.06 kB / 0.561 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-05/0.4612, allocations: 32.92 kB / 0.561 GB, free: 20.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.4675, allocations: 3.085 MB / 0.5641 GB, free: 19.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.468, allocations: 163.4 kB / 0.5642 GB, free: 18.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.4681, allocations: 51 kB / 0.5643 GB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.4693, allocations: 194.2 kB / 0.5644 GB, free: 18.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/0.4697, allocations: 215.6 kB / 0.5646 GB, free: 18.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/0.4698, allocations: 57.06 kB / 0.5647 GB, free: 18.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.47, allocations: 265.2 kB / 0.565 GB, free: 18.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.47, allocations: 3.938 kB / 0.565 GB, free: 18.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001024/0.471, allocations: 232.4 kB / 0.5652 GB, free: 18.64 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.006294/0.4773, allocations: 3.694 MB / 0.5688 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005586/0.4829, allocations: 2.161 MB / 0.5709 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-05/0.4829, allocations: 3.438 kB / 0.5709 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003032/0.486, allocations: 1.048 MB / 0.5719 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.4873, allocations: 151.6 kB / 0.5721 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/0.5085, allocations: 12.38 MB / 0.5842 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.5088, allocations: 0.9248 MB / 0.5851 GB, free: 2.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009056/0.5097, allocations: 206 kB / 0.5853 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/0.5103, allocations: 219.4 kB / 0.5855 GB, free: 2.012 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5103, allocations: 4 kB / 0.5855 GB, free: 2.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.5659, allocations: 22.99 MB / 0.6079 GB, free: 11.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.49, allocations: 11.27 kB / 0.6079 GB, free: 11 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: 15.475314062998223]