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.001071/0.001071, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008213/0.0008212, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.1977/0.1977, allocations: 43.48 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.921e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4719, allocations: 87.43 MB / 0.5513 GB, free: 7.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.4721, allocations: 66.48 kB / 0.5514 GB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03159/0.5037, allocations: 11.68 MB / 0.5628 GB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5038, allocations: 0 / 0.5628 GB, free: 14.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.5038, allocations: 12 kB / 0.5628 GB, free: 14.14 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.002278/0.5061, allocations: 0.8931 MB / 0.5637 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5062, allocations: 8.219 kB / 0.5637 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.5064, allocations: 60.12 kB / 0.5637 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.507, allocations: 368.6 kB / 0.5641 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.5074, allocations: 257.6 kB / 0.5643 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5075, allocations: 27.91 kB / 0.5644 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/0.5087, allocations: 0.8 MB / 0.5651 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/0.5095, allocations: 0.5643 MB / 0.5657 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5096, allocations: 4 kB / 0.5657 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.5096, allocations: 0 / 0.5657 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.5096, allocations: 16 kB / 0.5657 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.5122, allocations: 2.007 MB / 0.5677 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.5135, allocations: 0.5563 MB / 0.5682 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.5139, allocations: 297.2 kB / 0.5685 GB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/0.514, allocations: 8.562 kB / 0.5685 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.514, allocations: 47 kB / 0.5685 GB, free: 9.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.514, allocations: 0 / 0.5685 GB, free: 9.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.01902/0.5331, allocations: 7.115 MB / 0.5755 GB, free: 3.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.5332, allocations: 98.17 kB / 0.5756 GB, free: 3.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.5339, allocations: 348.6 kB / 0.5759 GB, free: 3.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.534, allocations: 25.7 kB / 0.5759 GB, free: 3.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.5342, allocations: 214.9 kB / 0.5761 GB, free: 3.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.5347, allocations: 388.4 kB / 0.5765 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5348, allocations: 4 kB / 0.5765 GB, free: 2.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.535, allocations: 374.7 kB / 0.5769 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.5363, allocations: 0.9479 MB / 0.5778 GB, free: 2.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.5378, allocations: 1.088 MB / 0.5789 GB, free: 1.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.5389, allocations: 0.7965 MB / 0.5796 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.5389, allocations: 8 kB / 0.5797 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002984/0.5419, allocations: 1.995 MB / 0.5816 GB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.542, allocations: 4 kB / 0.5816 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.542, allocations: 4 kB / 0.5816 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.542, allocations: 8 kB / 0.5816 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.5449, allocations: 474.8 kB / 0.5821 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.339e-05/0.5449, allocations: 8 kB / 0.5821 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.547, allocations: 259.7 kB / 0.5823 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.5472, allocations: 42.36 kB / 0.5824 GB, free: 15.06 MB / 394.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 () * 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.0003676/0.5476, allocations: 124.7 kB / 0.5825 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.5478, allocations: 63.25 kB / 0.5825 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.5481, allocations: 98.47 kB / 0.5826 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.5481, allocations: 19.98 kB / 0.5827 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5481, allocations: 0 / 0.5827 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5482, allocations: 3.984 kB / 0.5827 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.5584, allocations: 4.568 MB / 0.5871 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.5585, allocations: 20 kB / 0.5871 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.5605, allocations: 402.1 kB / 0.5875 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.43e-05/0.5605, allocations: 35.94 kB / 0.5876 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.5607, allocations: 34.67 kB / 0.5876 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.523e-05/0.5607, allocations: 43.86 kB / 0.5876 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.394e-05/0.5608, allocations: 39.77 kB / 0.5877 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.5641, allocations: 3.245 MB / 0.5908 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.5644, allocations: 244.2 kB / 0.5911 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5646, allocations: 27.98 kB / 0.5911 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.5659, allocations: 239.7 kB / 0.5913 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/0.5663, allocations: 235.3 kB / 0.5916 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.771e-05/0.5664, allocations: 56 kB / 0.5916 GB, free: 5.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.5667, allocations: 260.6 kB / 0.5919 GB, free: 5.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5667, allocations: 4 kB / 0.5919 GB, free: 5.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009635/0.5677, allocations: 195.9 kB / 0.592 GB, free: 5.52 MB / 394.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 () * 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.000231/0.5679, allocations: 142.7 kB / 0.5922 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.5703, allocations: 1.619 MB / 0.5938 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5703, allocations: 4 kB / 0.5938 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.5719, allocations: 0.7435 MB / 0.5945 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.5727, allocations: 107.4 kB / 0.5946 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.5757, allocations: 1.623 MB / 0.5962 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.5763, allocations: 0.9479 MB / 0.5971 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.5775, allocations: 194 kB / 0.5973 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.5781, allocations: 67.36 kB / 0.5974 GB, free: 15.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5781, allocations: 0 / 0.5974 GB, free: 15.73 MB / 410.7 MB Notification: Performance of Templates: time 0.02192/0.6, allocations: 14.46 MB / 0.6115 GB, free: 1.262 MB / 410.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