Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001965/0.001965, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002285/0.002285, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002595/0.002595, allocations: 67.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3591, allocations: 65.46 MB / 0.5582 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004364/0.3634, allocations: 2.444 MB / 0.5606 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3658, allocations: 0.9758 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.3661, allocations: 19.75 kB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.3666, allocations: 115.2 kB / 0.5617 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3668, allocations: 103.3 kB / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.3676, allocations: 291.5 kB / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.3686, allocations: 0.7171 MB / 0.5628 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3688, allocations: 56.84 kB / 0.5628 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.3692, allocations: 311 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.3697, allocations: 346.7 kB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.3698, allocations: 60 kB / 0.5635 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3699, allocations: 60 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.3702, allocations: 191.4 kB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.3705, allocations: 238.7 kB / 0.564 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.3712, allocations: 0.5629 MB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3713, allocations: 0 / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3713, allocations: 0 / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3713, allocations: 4 kB / 0.5645 GB, free: 1.219 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.002495/0.3738, allocations: 0.8675 MB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3738, allocations: 12.03 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3739, allocations: 64.61 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.3747, allocations: 313.1 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006779/0.3754, allocations: 0.6747 MB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3755, allocations: 44.36 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.3785, allocations: 0.8164 MB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.3785, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.3786, allocations: 16 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.3786, allocations: 12 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.3836, allocations: 1.204 MB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.388, allocations: 1.995 MB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.3921, allocations: 0.7821 MB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.3943, allocations: 453.3 kB / 0.5716 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.3944, allocations: 15.92 kB / 0.5716 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3945, allocations: 38.5 kB / 0.5717 GB, free: 9.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 4.038e-06/0.3945, allocations: 0 / 0.5717 GB, free: 9.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.1032/0.4977, allocations: 15.47 MB / 0.5868 GB, free: 10.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.4978, allocations: 94.05 kB / 0.5869 GB, free: 9.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.4984, allocations: 393.5 kB / 0.5872 GB, free: 9.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.4986, allocations: 45.7 kB / 0.5873 GB, free: 9.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.4988, allocations: 225.5 kB / 0.5875 GB, free: 9.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.4993, allocations: 416.5 kB / 0.5879 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/0.4998, allocations: 194.9 kB / 0.5881 GB, free: 8.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5, allocations: 374.8 kB / 0.5884 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.5038, allocations: 1.345 MB / 0.5897 GB, free: 6.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/0.5077, allocations: 1.501 MB / 0.5912 GB, free: 5.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007053/0.5148, allocations: 2.432 MB / 0.5936 GB, free: 2.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.5148, allocations: 4 kB / 0.5936 GB, free: 2.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008178/0.523, allocations: 2.831 MB / 0.5964 GB, free: 32 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.523, allocations: 8.25 kB / 0.5964 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.523, allocations: 4 kB / 0.5964 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.523, allocations: 8 kB / 0.5964 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.5261, allocations: 411.5 kB / 0.5968 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/0.5261, allocations: 11.94 kB / 0.5968 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.5281, allocations: 219.7 kB / 0.597 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.5283, allocations: 39.98 kB / 0.597 GB, free: 15.34 MB / 446.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.0004998/0.5288, allocations: 233.4 kB / 0.5972 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.529, allocations: 63.62 kB / 0.5973 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.5293, allocations: 108.7 kB / 0.5974 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5293, allocations: 12 kB / 0.5974 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.5293, allocations: 3.938 kB / 0.5974 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5293, allocations: 11.97 kB / 0.5974 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.5422, allocations: 5.201 MB / 0.6025 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.5422, allocations: 20 kB / 0.6025 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.5438, allocations: 355.6 kB / 0.6029 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.5438, allocations: 31.83 kB / 0.6029 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5439, allocations: 48 kB / 0.603 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.282e-05/0.544, allocations: 43.86 kB / 0.603 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-05/0.544, allocations: 31.88 kB / 0.603 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007739/0.5518, allocations: 3.095 MB / 0.606 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.5522, allocations: 167.5 kB / 0.6062 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.5524, allocations: 55.97 kB / 0.6063 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.5537, allocations: 191.8 kB / 0.6064 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/0.5543, allocations: 223.1 kB / 0.6067 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5544, allocations: 56 kB / 0.6067 GB, free: 4.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.5547, allocations: 259.2 kB / 0.607 GB, free: 4.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5547, allocations: 0 / 0.607 GB, free: 4.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001091/0.5558, allocations: 232 kB / 0.6072 GB, free: 4.301 MB / 446.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.0002446/0.556, allocations: 170.7 kB / 0.6073 GB, free: 4.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006503/0.5625, allocations: 2.155 MB / 0.6094 GB, free: 1.973 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/0.5626, allocations: 4 kB / 0.6094 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003577/0.5661, allocations: 1.047 MB / 0.6105 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5675, allocations: 152.7 kB / 0.6106 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.5721, allocations: 2.012 MB / 0.6126 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.5728, allocations: 0.9282 MB / 0.6135 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007822/0.5736, allocations: 79.42 kB / 0.6136 GB, free: 13.41 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5736, allocations: 3.938 kB / 0.6136 GB, free: 13.4 MB / 462.1 MB Notification: Performance of Templates: time 0.02577/0.5994, allocations: 14.32 MB / 0.6276 GB, free: 15.1 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.272739475825801]