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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 109.5 kB / 17.09 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 196.2 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.183/0.183, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 65.62 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08964, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00318/0.09285, allocations: 2.415 MB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.09443, allocations: 0.9911 MB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.09464, allocations: 7.938 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.09497, allocations: 115.2 kB / 0.492 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.09521, allocations: 99.31 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.09586, allocations: 291.5 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.09654, allocations: 0.7171 MB / 0.493 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.0967, allocations: 77.03 kB / 0.4931 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.09706, allocations: 303 kB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.0975, allocations: 326.8 kB / 0.4937 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.09762, allocations: 67.94 kB / 0.4938 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.09772, allocations: 64 kB / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.09789, allocations: 183.5 kB / 0.494 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.09809, allocations: 242.7 kB / 0.4943 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.09856, allocations: 0.5606 MB / 0.4948 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.09857, allocations: 0 / 0.4948 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09858, allocations: 0 / 0.4948 GB, free: 5.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.0986, allocations: 0 / 0.4948 GB, free: 5.348 MB / 382.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.002062/0.1007, allocations: 0.9392 MB / 0.4957 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1007, allocations: 11.89 kB / 0.4957 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1008, allocations: 60.38 kB / 0.4958 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.1013, allocations: 383 kB / 0.4962 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.1017, allocations: 267.7 kB / 0.4964 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.1017, allocations: 40.38 kB / 0.4964 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1036, allocations: 0.8126 MB / 0.4972 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1036, allocations: 0 / 0.4972 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.1037, allocations: 16 kB / 0.4973 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1037, allocations: 12 kB / 0.4973 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.1068, allocations: 1.204 MB / 0.4984 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.1093, allocations: 2.046 MB / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.1121, allocations: 0.8286 MB / 0.5013 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.1134, allocations: 497.8 kB / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.1135, allocations: 8 kB / 0.5017 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1135, allocations: 46.44 kB / 0.5018 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 1.964e-06/0.1135, allocations: 0 / 0.5018 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.08484/0.1983, allocations: 15.75 MB / 0.5172 GB, free: 14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1984, allocations: 90.23 kB / 0.5172 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.1988, allocations: 397.4 kB / 0.5176 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.199, allocations: 45.7 kB / 0.5177 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.1992, allocations: 221.1 kB / 0.5179 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.1995, allocations: 394.2 kB / 0.5183 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/0.2, allocations: 198.8 kB / 0.5184 GB, free: 12.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2002, allocations: 374.8 kB / 0.5188 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.2034, allocations: 1.345 MB / 0.5201 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003339/0.2068, allocations: 1.493 MB / 0.5216 GB, free: 9.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0059/0.2127, allocations: 2.449 MB / 0.524 GB, free: 6.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2127, allocations: 0 / 0.524 GB, free: 6.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006903/0.2196, allocations: 2.838 MB / 0.5267 GB, free: 4.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.2197, allocations: 8 kB / 0.5267 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2197, allocations: 4 kB / 0.5267 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.2197, allocations: 8 kB / 0.5268 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/0.2223, allocations: 411.6 kB / 0.5271 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.2223, allocations: 8 kB / 0.5272 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.2242, allocations: 223.6 kB / 0.5274 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.2243, allocations: 39.98 kB / 0.5274 GB, free: 3.34 MB / 414.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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (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.0004297/0.2248, allocations: 233.8 kB / 0.5276 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.225, allocations: 67.23 kB / 0.5277 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.2253, allocations: 112.7 kB / 0.5278 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.2253, allocations: 3.984 kB / 0.5278 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2253, allocations: 0 / 0.5278 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.2258, allocations: 320 kB / 0.5281 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.226, allocations: 20 kB / 0.5281 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.2279, allocations: 211.7 kB / 0.5283 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/0.2284, allocations: 176.9 kB / 0.5285 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1917/0.4201, allocations: 2.938 MB / 0.5314 GB, free: 42.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009719/0.4299, allocations: 4.495 MB / 0.5358 GB, free: 41.44 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003021/0.4329, allocations: 1.436 MB / 0.5372 GB, free: 40.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.4331, allocations: 266.4 kB / 0.5374 GB, free: 40.74 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.4332, allocations: 0 / 0.5374 GB, free: 40.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.4373, allocations: 1.843 MB / 0.5392 GB, free: 39.98 MB / 414.1 MB Notification: Performance of SimCode: time 0.001608/0.4389, allocations: 1.396 MB / 0.5406 GB, free: 39.03 MB / 414.1 MB Notification: Performance of Templates: time 0.03376/0.4727, allocations: 28.56 MB / 0.5685 GB, free: 21.77 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches