Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001884/0.001884, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002394/0.002394, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 67.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3421, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003803/0.346, allocations: 2.256 MB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3478, allocations: 0.9369 MB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.348, allocations: 11.88 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.3484, allocations: 115.2 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.3487, allocations: 103.4 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.3495, allocations: 299.5 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009026/0.3504, allocations: 0.7211 MB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3505, allocations: 47.92 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.3509, allocations: 295 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.3513, allocations: 318.7 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3514, allocations: 64 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.3515, allocations: 60 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3517, allocations: 203.4 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.3519, allocations: 219 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.3525, allocations: 0.5678 MB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3525, allocations: 4 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3525, allocations: 0 / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3525, allocations: 0 / 0.5671 GB, free: 13.97 MB / 414.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.002425/0.3549, allocations: 0.8792 MB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.355, allocations: 12.03 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.3551, allocations: 68.61 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.3558, allocations: 313 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007204/0.3565, allocations: 0.6708 MB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.3566, allocations: 44.38 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.3589, allocations: 0.8243 MB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3589, allocations: 0 / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.3589, allocations: 16 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.359, allocations: 15.94 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.3627, allocations: 1.208 MB / 0.5711 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.366, allocations: 1.837 MB / 0.5728 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.369, allocations: 0.7575 MB / 0.5736 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.3706, allocations: 470.4 kB / 0.574 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.3707, allocations: 4.562 kB / 0.574 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3707, allocations: 43.62 kB / 0.5741 GB, free: 6.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.565e-06/0.3707, allocations: 3.938 kB / 0.5741 GB, free: 6.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.1108/0.4815, allocations: 15.54 MB / 0.5893 GB, free: 6.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4816, allocations: 94.05 kB / 0.5894 GB, free: 6.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.4824, allocations: 421.4 kB / 0.5898 GB, free: 6.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/0.4827, allocations: 45.7 kB / 0.5898 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.4829, allocations: 217.6 kB / 0.59 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006385/0.4836, allocations: 432.3 kB / 0.5904 GB, free: 5.629 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/0.4844, allocations: 202.9 kB / 0.5906 GB, free: 5.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.4847, allocations: 374.7 kB / 0.591 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005959/0.4906, allocations: 1.349 MB / 0.5923 GB, free: 3.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/0.4955, allocations: 1.509 MB / 0.5938 GB, free: 2.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.503, allocations: 2.463 MB / 0.5962 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.503, allocations: 4 kB / 0.5962 GB, free: 15.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008864/0.5119, allocations: 2.851 MB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.5119, allocations: 11.98 kB / 0.599 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.5119, allocations: 4 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.5119, allocations: 8 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.5148, allocations: 411.4 kB / 0.5994 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/0.5149, allocations: 8 kB / 0.5994 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.517, allocations: 227.6 kB / 0.5996 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.5171, allocations: 36 kB / 0.5996 GB, free: 12.08 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: 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.0005163/0.5176, allocations: 229.9 kB / 0.5998 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.5179, allocations: 71.58 kB / 0.5999 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.5182, allocations: 108.7 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5182, allocations: 12 kB / 0.6 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.5182, allocations: 4 kB / 0.6 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.5182, allocations: 11.92 kB / 0.6 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.5313, allocations: 4.788 MB / 0.6047 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.5313, allocations: 20 kB / 0.6047 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.533, allocations: 351.5 kB / 0.6051 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/0.533, allocations: 28 kB / 0.6051 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.5331, allocations: 55.98 kB / 0.6052 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.579e-05/0.5331, allocations: 39.86 kB / 0.6052 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-05/0.5332, allocations: 31.88 kB / 0.6052 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008139/0.5413, allocations: 3.139 MB / 0.6083 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.5419, allocations: 167.5 kB / 0.6084 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.542, allocations: 55.98 kB / 0.6085 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.5434, allocations: 195.7 kB / 0.6087 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/0.5439, allocations: 231.1 kB / 0.6089 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.121e-05/0.544, allocations: 52 kB / 0.609 GB, free: 1.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.5443, allocations: 287.1 kB / 0.6092 GB, free: 1.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5443, allocations: 0 / 0.6092 GB, free: 1.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001045/0.5454, allocations: 235.9 kB / 0.6095 GB, free: 1.375 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: 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.0002433/0.5456, allocations: 162.8 kB / 0.6096 GB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007076/0.5527, allocations: 2.187 MB / 0.6117 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-05/0.5527, allocations: 4 kB / 0.6118 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.5567, allocations: 1.067 MB / 0.6128 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.5581, allocations: 159.5 kB / 0.6129 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.5624, allocations: 1.987 MB / 0.6149 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.5629, allocations: 325.8 kB / 0.6152 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001108/0.564, allocations: 205.9 kB / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/0.5645, allocations: 67.42 kB / 0.6155 GB, free: 10.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5645, allocations: 0 / 0.6155 GB, free: 10.89 MB / 462.1 MB Notification: Performance of Templates: time 0.02987/0.5944, allocations: 18.56 MB / 0.6336 GB, free: 8.461 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.210872061550617]