Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001277, allocations: 181.4 kB / 16.08 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007441, allocations: 90.25 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1724/0.1724, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 12 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09063, allocations: 58.86 MB / 491.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002135/0.09281, allocations: 1.994 MB / 493.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.0941, allocations: 0.9409 MB / 494.1 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.09424, allocations: 11.88 kB / 494.1 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.09454, allocations: 103.5 kB / 494.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.09475, allocations: 79.53 kB / 494.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.09526, allocations: 247.7 kB / 494.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.09584, allocations: 0.6859 MB / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.096, allocations: 61.33 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.09627, allocations: 275 kB / 495.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.09658, allocations: 302.8 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.09667, allocations: 35.94 kB / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-05/0.09674, allocations: 28 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.0969, allocations: 159.5 kB / 496.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.0971, allocations: 248.4 kB / 496.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.09751, allocations: 0.4982 MB / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09752, allocations: 0 / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.09753, allocations: 0 / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.09754, allocations: 0 / 496.8 MB, free: 2.438 MB / 330.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.001962/0.09951, allocations: 0.9372 MB / 497.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.09955, allocations: 12.03 kB / 497.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.09965, allocations: 60.38 kB / 497.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.1001, allocations: 367.2 kB / 498.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.1004, allocations: 275.7 kB / 498.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.1005, allocations: 48.28 kB / 498.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1025, allocations: 0.8711 MB / 499.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1025, allocations: 3.938 kB / 499.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.1026, allocations: 16 kB / 499.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1026, allocations: 15.98 kB / 499.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.106, allocations: 1.321 MB / 0.489 GB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1086, allocations: 2.078 MB / 0.491 GB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.1114, allocations: 0.8949 MB / 0.4919 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.1128, allocations: 0.5404 MB / 0.4924 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.215e-05/0.1128, allocations: 9.062 kB / 0.4924 GB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1129, allocations: 46.5 kB / 0.4925 GB, free: 10.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=64): time 1.723e-06/0.1129, allocations: 0 / 0.4925 GB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.08279/0.1957, allocations: 18.22 MB / 0.5103 GB, free: 8.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1958, allocations: 90.23 kB / 0.5103 GB, free: 8.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.1962, allocations: 393.3 kB / 0.5107 GB, free: 7.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.1963, allocations: 45.7 kB / 0.5108 GB, free: 7.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1964, allocations: 213.1 kB / 0.511 GB, free: 7.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.1968, allocations: 410.1 kB / 0.5114 GB, free: 7.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1969, allocations: 24 kB / 0.5114 GB, free: 7.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.197, allocations: 370.8 kB / 0.5117 GB, free: 6.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/0.2004, allocations: 1.451 MB / 0.5132 GB, free: 5.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/0.2039, allocations: 1.603 MB / 0.5147 GB, free: 3.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006152/0.2101, allocations: 2.668 MB / 0.5173 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2101, allocations: 0 / 0.5173 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.16/0.3701, allocations: 3.045 MB / 0.5203 GB, free: 46.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3701, allocations: 8.859 kB / 0.5203 GB, free: 46.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3702, allocations: 3.875 kB / 0.5203 GB, free: 46.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.3702, allocations: 8.562 kB / 0.5203 GB, free: 46.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.373, allocations: 469.4 kB / 0.5208 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/0.373, allocations: 12.09 kB / 0.5208 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.375, allocations: 280.4 kB / 0.521 GB, free: 46.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.3752, allocations: 41.05 kB / 0.5211 GB, free: 46.59 MB / 362.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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],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 (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.0004145/0.3756, allocations: 232.5 kB / 0.5213 GB, free: 46.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.3758, allocations: 63.41 kB / 0.5214 GB, free: 46.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.376, allocations: 115.7 kB / 0.5215 GB, free: 46.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.376, allocations: 11.8 kB / 0.5215 GB, free: 46.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.376, allocations: 5.125 kB / 0.5215 GB, free: 46.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.3761, allocations: 5.906 kB / 0.5215 GB, free: 46.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.387, allocations: 5.551 MB / 0.5269 GB, free: 43.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.3871, allocations: 21.34 kB / 0.5269 GB, free: 43.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.3886, allocations: 416.5 kB / 0.5273 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.491e-05/0.3886, allocations: 27.22 kB / 0.5274 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.36e-05/0.3887, allocations: 48.14 kB / 0.5274 GB, free: 43.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.914e-05/0.3888, allocations: 40.16 kB / 0.5274 GB, free: 43.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/0.3888, allocations: 33.69 kB / 0.5275 GB, free: 43.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/0.3956, allocations: 3.412 MB / 0.5308 GB, free: 41.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.396, allocations: 239.8 kB / 0.531 GB, free: 41.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3961, allocations: 51.7 kB / 0.5311 GB, free: 41.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.3974, allocations: 254.3 kB / 0.5313 GB, free: 41.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/0.3978, allocations: 217.2 kB / 0.5315 GB, free: 41.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.3979, allocations: 57.47 kB / 0.5316 GB, free: 41.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.3981, allocations: 259.5 kB / 0.5318 GB, free: 41.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3981, allocations: 1.875 kB / 0.5318 GB, free: 41.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000899/0.399, allocations: 228.2 kB / 0.5321 GB, free: 41.51 MB / 362.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: 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.0001818/0.3992, allocations: 185.5 kB / 0.5322 GB, free: 41.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005608/0.4048, allocations: 2.557 MB / 0.5347 GB, free: 40.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4049, allocations: 3.406 kB / 0.5347 GB, free: 40.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.4078, allocations: 1.176 MB / 0.5359 GB, free: 40.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.4096, allocations: 169.7 kB / 0.536 GB, free: 40.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.4125, allocations: 2.217 MB / 0.5382 GB, free: 38.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.4128, allocations: 0.9274 MB / 0.5391 GB, free: 37.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.4139, allocations: 193.9 kB / 0.5393 GB, free: 37.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.4145, allocations: 63.92 kB / 0.5394 GB, free: 37.31 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4145, allocations: 0 / 0.5394 GB, free: 37.31 MB / 362.7 MB Notification: Performance of Templates: time 0.01647/0.431, allocations: 15.08 MB / 0.5541 GB, free: 22.48 MB / 362.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