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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001146, allocations: 175.3 kB / 16.77 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008505/0.0008505, allocations: 96.91 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.421/0.421, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 16 kB / 432.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1498, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.551, allocations: 88.24 MB / 0.5661 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5513, allocations: 59.97 kB / 0.5662 GB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0354/0.5867, allocations: 11.76 MB / 0.5777 GB, free: 1.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5868, allocations: 0 / 0.5777 GB, free: 1.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.5868, allocations: 19.94 kB / 0.5777 GB, free: 1.961 MB / 394.7 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.002454/0.5893, allocations: 0.9391 MB / 0.5786 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5893, allocations: 12.03 kB / 0.5786 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.5896, allocations: 60.38 kB / 0.5787 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.5903, allocations: 371.2 kB / 0.579 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/0.5907, allocations: 275.6 kB / 0.5793 GB, free: 200 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5909, allocations: 56.25 kB / 0.5793 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.593, allocations: 0.8755 MB / 0.5802 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.5931, allocations: 7.938 kB / 0.5802 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.5932, allocations: 16 kB / 0.5802 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5932, allocations: 8 kB / 0.5802 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.5969, allocations: 1.345 MB / 0.5815 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.6001, allocations: 2.08 MB / 0.5836 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.6029, allocations: 0.8687 MB / 0.5844 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.6044, allocations: 0.5609 MB / 0.585 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.6045, allocations: 8.562 kB / 0.585 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6045, allocations: 39.69 kB / 0.585 GB, free: 10.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 3.767e-06/0.6045, allocations: 0 / 0.585 GB, free: 10.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.08444/0.689, allocations: 18.3 MB / 0.6029 GB, free: 7.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.6891, allocations: 90.23 kB / 0.603 GB, free: 7.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.6897, allocations: 401.5 kB / 0.6033 GB, free: 7.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.69, allocations: 45.7 kB / 0.6034 GB, free: 7.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.6902, allocations: 221.1 kB / 0.6036 GB, free: 6.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005069/0.6907, allocations: 410 kB / 0.604 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.6908, allocations: 24 kB / 0.604 GB, free: 6.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.691, allocations: 380.2 kB / 0.6044 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/0.6947, allocations: 1.459 MB / 0.6058 GB, free: 4.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/0.6986, allocations: 1.622 MB / 0.6074 GB, free: 3.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00702/0.7056, allocations: 2.677 MB / 0.61 GB, free: 300 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.7057, allocations: 0 / 0.61 GB, free: 300 kB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.007957/0.7137, allocations: 3.066 MB / 0.613 GB, free: 13.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.7137, allocations: 5.875 kB / 0.613 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.7138, allocations: 8.25 kB / 0.613 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.7138, allocations: 8 kB / 0.613 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.7164, allocations: 467.3 kB / 0.6135 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.209e-05/0.7165, allocations: 11.94 kB / 0.6135 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.7185, allocations: 287.6 kB / 0.6137 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.7187, allocations: 43.98 kB / 0.6138 GB, free: 12.41 MB / 442.7 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.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005546/0.7193, allocations: 237.3 kB / 0.614 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.7195, allocations: 63.25 kB / 0.6141 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.7198, allocations: 112.7 kB / 0.6142 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.7198, allocations: 12 kB / 0.6142 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.7198, allocations: 2.531 kB / 0.6142 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.7199, allocations: 11.91 kB / 0.6142 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.7321, allocations: 5.589 MB / 0.6197 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.09e-05/0.7322, allocations: 24 kB / 0.6197 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.7337, allocations: 412 kB / 0.6201 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.141e-05/0.7338, allocations: 31.94 kB / 0.6201 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.7339, allocations: 48 kB / 0.6202 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.87e-05/0.7339, allocations: 43.8 kB / 0.6202 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-05/0.734, allocations: 31.88 kB / 0.6202 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/0.7414, allocations: 3.457 MB / 0.6236 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.7419, allocations: 244.3 kB / 0.6238 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.7421, allocations: 51.98 kB / 0.6239 GB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.7435, allocations: 259.8 kB / 0.6241 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/0.744, allocations: 231.2 kB / 0.6244 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.7441, allocations: 60 kB / 0.6244 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003767/0.7445, allocations: 275.1 kB / 0.6247 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7445, allocations: 0 / 0.6247 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001154/0.7457, allocations: 240 kB / 0.6249 GB, free: 364 kB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002969/0.746, allocations: 178.6 kB / 0.6251 GB, free: 176 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006493/0.7525, allocations: 2.585 MB / 0.6276 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.7525, allocations: 4 kB / 0.6276 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003404/0.756, allocations: 1.187 MB / 0.6288 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.7581, allocations: 162.3 kB / 0.6289 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.7624, allocations: 2.183 MB / 0.631 GB, free: 9.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.763, allocations: 0.9243 MB / 0.6319 GB, free: 8.801 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001446/0.7644, allocations: 194 kB / 0.6321 GB, free: 8.609 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.765, allocations: 67.41 kB / 0.6322 GB, free: 8.543 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.765, allocations: 0 / 0.6322 GB, free: 8.543 MB / 458.7 MB Notification: Performance of Templates: time 0.02762/0.7927, allocations: 14.87 MB / 0.6467 GB, free: 9.688 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches