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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 79.75 kB / 20.52 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 164 kB / 23.76 MB, free: 4.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2416/0.2416, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,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=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 78.88 kB / 407.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4275, allocations: 61 MB / 468.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003952/0.4314, allocations: 2.258 MB / 471 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.4331, allocations: 0.9576 MB / 472 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.4333, allocations: 8.219 kB / 472 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.4337, allocations: 119.2 kB / 472.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.434, allocations: 102.9 kB / 472.2 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.4346, allocations: 291.5 kB / 472.5 MB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008944/0.4355, allocations: 0.7347 MB / 473.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.4357, allocations: 40.47 kB / 473.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.4361, allocations: 290.7 kB / 473.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.4366, allocations: 328 kB / 473.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.4368, allocations: 62.72 kB / 473.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4369, allocations: 63.06 kB / 474 MB, free: 5.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.4371, allocations: 208.8 kB / 474.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.4374, allocations: 208.7 kB / 474.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007744/0.4381, allocations: 0.5732 MB / 475 MB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4382, allocations: 0 / 475 MB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4382, allocations: 0 / 475 MB, free: 5.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.4382, allocations: 0 / 475 MB, free: 5.074 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.002725/0.4409, allocations: 0.8875 MB / 475.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4409, allocations: 9.719 kB / 475.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.4411, allocations: 61.69 kB / 475.9 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.442, allocations: 320.8 kB / 476.3 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005818/0.4426, allocations: 0.6748 MB / 476.9 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.4427, allocations: 48.44 kB / 477 MB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.4454, allocations: 0.8178 MB / 477.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.4454, allocations: 5.312 kB / 477.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.4455, allocations: 16.09 kB / 477.8 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.4455, allocations: 11.31 kB / 477.8 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/0.4497, allocations: 1.212 MB / 479 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.4524, allocations: 1.857 MB / 480.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.4552, allocations: 0.7423 MB / 481.6 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.4568, allocations: 469 kB / 482.1 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.4569, allocations: 8.25 kB / 482.1 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4569, allocations: 45.25 kB / 482.2 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.895e-06/0.4569, allocations: 1.375 kB / 482.2 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.09322/0.5501, allocations: 15.54 MB / 497.7 MB, free: 5.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.5502, allocations: 90.11 kB / 497.8 MB, free: 5.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.5509, allocations: 421.4 kB / 498.2 MB, free: 5.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.551, allocations: 45.7 kB / 498.2 MB, free: 5.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.5512, allocations: 225.6 kB / 498.5 MB, free: 4.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.5517, allocations: 424.3 kB / 498.9 MB, free: 4.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.5522, allocations: 198.9 kB / 499.1 MB, free: 4.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.5525, allocations: 378.7 kB / 499.4 MB, free: 3.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004059/0.5565, allocations: 1.357 MB / 0.4891 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004146/0.5607, allocations: 1.501 MB / 0.4905 GB, free: 1.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/0.5681, allocations: 2.463 MB / 0.4929 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5682, allocations: 0 / 0.4929 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008408/0.5766, allocations: 2.855 MB / 0.4957 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.5766, allocations: 4 kB / 0.4957 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5766, allocations: 4 kB / 0.4957 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.5766, allocations: 8 kB / 0.4957 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/0.5795, allocations: 415.6 kB / 0.4961 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/0.5795, allocations: 8 kB / 0.4961 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.5817, allocations: 231.6 kB / 0.4964 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.5818, allocations: 39.98 kB / 0.4964 GB, free: 11 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: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,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 (150): * Single equations (assignments): 150 * 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.0005408/0.5824, allocations: 229.4 kB / 0.4966 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.5826, allocations: 67.58 kB / 0.4967 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.5828, allocations: 112.7 kB / 0.4968 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.5829, allocations: 16 kB / 0.4968 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.5829, allocations: 0 / 0.4968 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.5829, allocations: 7.922 kB / 0.4968 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.5953, allocations: 4.796 MB / 0.5015 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/0.5953, allocations: 23.94 kB / 0.5015 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.5969, allocations: 355.6 kB / 0.5019 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.26e-05/0.5969, allocations: 28 kB / 0.5019 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5971, allocations: 48 kB / 0.5019 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-05/0.5971, allocations: 39.86 kB / 0.502 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.728e-05/0.5971, allocations: 35.81 kB / 0.502 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00815/0.6053, allocations: 3.128 MB / 0.5051 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.6057, allocations: 175.4 kB / 0.5052 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.6059, allocations: 51.98 kB / 0.5053 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.6073, allocations: 187.8 kB / 0.5055 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005094/0.6078, allocations: 227.2 kB / 0.5057 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6079, allocations: 59.98 kB / 0.5057 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.6083, allocations: 279.1 kB / 0.506 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6083, allocations: 0 / 0.506 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001152/0.6095, allocations: 236 kB / 0.5062 GB, free: 316 kB / 414.1 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 (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.0002874/0.6097, allocations: 166.8 kB / 0.5064 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006846/0.6166, allocations: 2.194 MB / 0.5085 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.6166, allocations: 4 kB / 0.5085 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003659/0.6203, allocations: 1.059 MB / 0.5096 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.6216, allocations: 154.1 kB / 0.5097 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.6258, allocations: 1.972 MB / 0.5116 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.6262, allocations: 333.8 kB / 0.5119 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.6272, allocations: 205.9 kB / 0.5121 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/0.6278, allocations: 72.48 kB / 0.5122 GB, free: 9.809 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6278, allocations: 0 / 0.5122 GB, free: 9.809 MB / 430.1 MB Notification: Performance of Templates: time 0.02975/0.6575, allocations: 18.19 MB / 0.53 GB, free: 7.555 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.248244525981136]