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.001922/0.001923, allocations: 180.6 kB / 15.76 MB, free: 6.367 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.505/1.505, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009064/0.0009064, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2046/0.2046, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3534/0.47, allocations: 88.19 MB / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.4702, allocations: 64.16 kB / 0.5649 GB, free: 11.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03544/0.5057, allocations: 11.76 MB / 0.5764 GB, free: 1.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5057, allocations: 0 / 0.5764 GB, free: 1.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.78e-05/0.5057, allocations: 16.12 kB / 0.5764 GB, free: 1.414 MB / 378.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.002047/0.5078, allocations: 0.938 MB / 0.5774 GB, free: 472 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5078, allocations: 12.02 kB / 0.5774 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.508, allocations: 60.12 kB / 0.5774 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.5085, allocations: 374.2 kB / 0.5778 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.5089, allocations: 277.8 kB / 0.578 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.509, allocations: 48.59 kB / 0.5781 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.511, allocations: 0.8681 MB / 0.5789 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.511, allocations: 7.984 kB / 0.5789 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.5111, allocations: 19.56 kB / 0.579 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.5111, allocations: 8 kB / 0.579 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.5147, allocations: 1.343 MB / 0.5803 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.5176, allocations: 2.078 MB / 0.5823 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.5203, allocations: 0.8616 MB / 0.5832 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.5204, allocations: 8.562 kB / 0.5832 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5204, allocations: 41.25 kB / 0.5832 GB, free: 11.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.966e-06/0.5204, allocations: 0 / 0.5832 GB, free: 11.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.0901/0.6105, allocations: 18.3 MB / 0.6011 GB, free: 11.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.6107, allocations: 90.23 kB / 0.6012 GB, free: 11.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.6112, allocations: 371.2 kB / 0.6015 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.6114, allocations: 43.64 kB / 0.6015 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.6115, allocations: 217.4 kB / 0.6018 GB, free: 10.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.6119, allocations: 408.5 kB / 0.6021 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.6121, allocations: 25.38 kB / 0.6022 GB, free: 10.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.6122, allocations: 376.2 kB / 0.6025 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.6157, allocations: 1.46 MB / 0.604 GB, free: 8.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.6192, allocations: 1.61 MB / 0.6055 GB, free: 7.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.6226, allocations: 1.31 MB / 0.6068 GB, free: 7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6226, allocations: 4 kB / 0.6068 GB, free: 6.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.007334/0.63, allocations: 3.074 MB / 0.6098 GB, free: 4.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.63, allocations: 7.984 kB / 0.6098 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6301, allocations: 7.953 kB / 0.6098 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.6301, allocations: 8 kB / 0.6098 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.6329, allocations: 471.8 kB / 0.6103 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.633, allocations: 15.92 kB / 0.6103 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.6351, allocations: 280.2 kB / 0.6106 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.6352, allocations: 38.98 kB / 0.6106 GB, free: 4.109 MB / 410.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.0005335/0.6358, allocations: 223.8 kB / 0.6108 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.636, allocations: 70.88 kB / 0.6109 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.6363, allocations: 108.5 kB / 0.611 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.6363, allocations: 23.94 kB / 0.611 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6363, allocations: 0 / 0.611 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6363, allocations: 7.969 kB / 0.611 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.6478, allocations: 5.589 MB / 0.6165 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/0.6479, allocations: 20 kB / 0.6165 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.6494, allocations: 411.6 kB / 0.6169 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.119e-05/0.6494, allocations: 32 kB / 0.6169 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.6495, allocations: 48 kB / 0.617 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.088e-05/0.6496, allocations: 43.84 kB / 0.617 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-05/0.6496, allocations: 35.81 kB / 0.617 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/0.6578, allocations: 4.539 MB / 0.6215 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.6584, allocations: 252.1 kB / 0.6217 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.6585, allocations: 55.97 kB / 0.6218 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.6599, allocations: 251.8 kB / 0.622 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/0.6603, allocations: 231.3 kB / 0.6222 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/0.6604, allocations: 59.98 kB / 0.6223 GB, free: 7.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003899/0.6608, allocations: 279.1 kB / 0.6226 GB, free: 7.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6608, allocations: 0 / 0.6226 GB, free: 7.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001142/0.662, allocations: 236 kB / 0.6228 GB, free: 7.262 MB / 426.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.0003335/0.6623, allocations: 174.7 kB / 0.6229 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006265/0.6686, allocations: 2.582 MB / 0.6255 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.6686, allocations: 4 kB / 0.6255 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.672, allocations: 1.192 MB / 0.6266 GB, free: 3.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.6729, allocations: 133.3 kB / 0.6268 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.6768, allocations: 2.165 MB / 0.6289 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.6774, allocations: 0.9398 MB / 0.6298 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001317/0.6787, allocations: 194 kB / 0.63 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.6793, allocations: 67.42 kB / 0.63 GB, free: 15.48 MB / 442.7 MB Notification: Performance of SimCode: time 5.72e-07/0.6793, allocations: 0 / 0.63 GB, free: 15.48 MB / 442.7 MB Notification: Performance of Templates: time 0.02279/0.7021, allocations: 14.83 MB / 0.6445 GB, free: 0.6445 MB / 442.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/jenkins/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