Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.056/1.056, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.308/0.308, allocations: 34.85 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.431e-05, allocations: 2.312 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002807/0.002821, allocations: 2.368 MB / 328.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004178, allocations: 0.9827 MB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004312, allocations: 7.938 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.004617, allocations: 111.2 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.004792, allocations: 103.3 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.005228, allocations: 295.4 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.005762, allocations: 0.7256 MB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.005898, allocations: 49.92 kB / 330.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.006247, allocations: 403.2 kB / 331 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.006532, allocations: 291.2 kB / 331.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.006605, allocations: 60 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.00666, allocations: 64 kB / 331.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.006798, allocations: 207.3 kB / 331.6 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.006918, allocations: 171.6 kB / 331.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.007301, allocations: 462.5 kB / 332.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.007302, allocations: 0 / 332.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007303, allocations: 3.938 kB / 332.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.007309, allocations: 0 / 332.2 MB, free: 0.8125 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.001115/0.008424, allocations: 0.7888 MB / 333 MB, free: 0 / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.008473, allocations: 8.203 kB / 333 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.008579, allocations: 100.8 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.008895, allocations: 268.4 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.009243, allocations: 0.6591 MB / 334 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.009305, allocations: 40.38 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.009924, allocations: 0.5236 MB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.00994, allocations: 192 / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.009977, allocations: 24.12 kB / 334.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.00999, allocations: 12 kB / 334.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.0105, allocations: 338.3 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.01179, allocations: 1.431 MB / 336.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.01244, allocations: 448.6 kB / 336.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.01262, allocations: 134.8 kB / 337 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.01267, allocations: 12.56 kB / 337 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.0127, allocations: 39.69 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.493e-06/0.0127, allocations: 4 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01699/0.02969, allocations: 7.694 MB / 344.7 MB, free: 3.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.02973, allocations: 94.11 kB / 344.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.02993, allocations: 335.1 kB / 345.1 MB, free: 3.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.03002, allocations: 45.7 kB / 345.2 MB, free: 3.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.03011, allocations: 198 kB / 345.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.03035, allocations: 416.3 kB / 345.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.03068, allocations: 206.8 kB / 346 MB, free: 2.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.03078, allocations: 374.6 kB / 346.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.03131, allocations: 425.4 kB / 346.7 MB, free: 1.812 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.03191, allocations: 0.5683 MB / 347.3 MB, free: 1.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.03295, allocations: 0.9908 MB / 348.3 MB, free: 164 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.03295, allocations: 7.938 kB / 348.3 MB, free: 156 kB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001374/0.03433, allocations: 1.09 MB / 349.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.03434, allocations: 12.03 kB / 349.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.03435, allocations: 4 kB / 349.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.03437, allocations: 8 kB / 349.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.03559, allocations: 367.4 kB / 349.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.0356, allocations: 11.94 kB / 349.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.03633, allocations: 171.8 kB / 350 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.03646, allocations: 28 kB / 350 MB, free: 14.46 MB / 330.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.0002849/0.03675, allocations: 192.3 kB / 350.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.03693, allocations: 75.94 kB / 350.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.03703, allocations: 108.7 kB / 350.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.03703, allocations: 12 kB / 350.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.03704, allocations: 0 / 350.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.03705, allocations: 7.984 kB / 350.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.04053, allocations: 2.582 MB / 353 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.04054, allocations: 24 kB / 353 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.04116, allocations: 312.4 kB / 353.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/0.04117, allocations: 32 kB / 353.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.04123, allocations: 44 kB / 353.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.04124, allocations: 47.73 kB / 353.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.486e-05/0.04126, allocations: 35.81 kB / 353.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.04275, allocations: 1.619 MB / 355.1 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.04293, allocations: 107.5 kB / 355.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.04301, allocations: 51.98 kB / 355.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.04349, allocations: 135.8 kB / 355.4 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.04374, allocations: 211.2 kB / 355.6 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.04379, allocations: 52 kB / 355.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.272e-05/0.04388, allocations: 116.7 kB / 355.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04388, allocations: 0 / 355.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005429/0.04442, allocations: 236 kB / 356 MB, free: 7.879 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.000142/0.04457, allocations: 148.5 kB / 356.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.0456, allocations: 0.9086 MB / 357 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.04561, allocations: 8 kB / 357 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.04599, allocations: 351.9 kB / 357.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.04671, allocations: 215.6 kB / 357.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.04841, allocations: 1.74 MB / 359.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.04854, allocations: 188.9 kB / 359.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005386/0.04908, allocations: 162 kB / 359.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/0.04966, allocations: 183.3 kB / 359.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04966, allocations: 0 / 359.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of Templates: time 0.02158/0.07124, allocations: 19.25 MB / 379.1 MB, free: 0.5469 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3354492750950158]