Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009012/0.0009012, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008446/0.0008446, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9563/0.9563, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2621/0.2621, allocations: 32.8 MB / 294.6 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.425e-05, allocations: 2.312 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002255/0.00227, allocations: 2.318 MB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003529, allocations: 0.9783 MB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.003653, allocations: 7.938 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.003943, allocations: 115.2 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.004109, allocations: 103.3 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.004621, allocations: 303.4 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.005182, allocations: 0.7211 MB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.005293, allocations: 49.86 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.005634, allocations: 399.2 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.005882, allocations: 291.2 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.005949, allocations: 67.94 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.006003, allocations: 60 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.006132, allocations: 203.4 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.006239, allocations: 171.6 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.006567, allocations: 462.4 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006568, allocations: 0 / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00657, allocations: 4 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.006574, allocations: 0 / 329.4 MB, free: 3.473 MB / 298.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.0009965/0.00757, allocations: 0.7892 MB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.007599, allocations: 8.031 kB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.007699, allocations: 96.88 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.007992, allocations: 268.4 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.00829, allocations: 0.6591 MB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.008351, allocations: 40.38 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.008958, allocations: 0.5275 MB / 331.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.00897, allocations: 192 / 331.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.009003, allocations: 20.12 kB / 331.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.009011, allocations: 12 kB / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.009483, allocations: 343 kB / 332.2 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.01075, allocations: 1.431 MB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.01135, allocations: 442.3 kB / 334 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.01153, allocations: 130.8 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.01159, allocations: 12.56 kB / 334.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.01161, allocations: 43.69 kB / 334.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.644e-06/0.01161, allocations: 4 kB / 334.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01664/0.02825, allocations: 7.703 MB / 341.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.02831, allocations: 94.05 kB / 342 MB, free: 6.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.02855, allocations: 331.1 kB / 342.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.02865, allocations: 45.7 kB / 342.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.02876, allocations: 198 kB / 342.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.02905, allocations: 424.2 kB / 343 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.02938, allocations: 198.8 kB / 343.2 MB, free: 5.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.02952, allocations: 378.6 kB / 343.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.03004, allocations: 425.4 kB / 344 MB, free: 4.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.03077, allocations: 0.5644 MB / 344.5 MB, free: 3.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.03176, allocations: 0.9991 MB / 345.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.03177, allocations: 7.875 kB / 345.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001286/0.03305, allocations: 1.087 MB / 346.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.03307, allocations: 12.03 kB / 346.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.03308, allocations: 4 kB / 346.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.0331, allocations: 8 kB / 346.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.03411, allocations: 359.4 kB / 347 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.03412, allocations: 11.94 kB / 347 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.03477, allocations: 163.8 kB / 347.2 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.03484, allocations: 31.98 kB / 347.2 MB, free: 1.121 MB / 314.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 (integrator.local_reset,integrator1.local_reset,integrator2.local_reset,integrator3.local_reset,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP2a.noWphase) * 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.0002593/0.0351, allocations: 180.4 kB / 347.4 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.03526, allocations: 75.94 kB / 347.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.03537, allocations: 108.7 kB / 347.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.03538, allocations: 15.94 kB / 347.6 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.03538, allocations: 4 kB / 347.6 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.03539, allocations: 7.969 kB / 347.6 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.03889, allocations: 2.579 MB / 350.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.03891, allocations: 20.94 kB / 350.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.03948, allocations: 311.5 kB / 350.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/0.0395, allocations: 28 kB / 350.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.03955, allocations: 44 kB / 350.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/0.03957, allocations: 43.8 kB / 350.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/0.03958, allocations: 35.81 kB / 350.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.04108, allocations: 1.621 MB / 352.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.04127, allocations: 111.5 kB / 352.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.04134, allocations: 47.97 kB / 352.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.0418, allocations: 139.8 kB / 352.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.04204, allocations: 207.2 kB / 352.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.04209, allocations: 52 kB / 352.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.135e-05/0.04218, allocations: 116.7 kB / 352.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04218, allocations: 0 / 352.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005921/0.04277, allocations: 232 kB / 353.1 MB, free: 10.56 MB / 330.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 (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.0001739/0.04294, allocations: 156.4 kB / 353.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.04396, allocations: 0.9056 MB / 354.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.04398, allocations: 8 kB / 354.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.04436, allocations: 355.8 kB / 354.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.04506, allocations: 210.8 kB / 354.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.04688, allocations: 1.74 MB / 356.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.04702, allocations: 184.9 kB / 356.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005162/0.04753, allocations: 165.9 kB / 356.8 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.04808, allocations: 183.3 kB / 357 MB, free: 6.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04808, allocations: 3.938 kB / 357 MB, free: 6.312 MB / 330.7 MB Notification: Performance of Templates: time 0.01869/0.06677, allocations: 19.25 MB / 376.3 MB, free: 3.203 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1421260721981525]