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.0009274/0.0009274, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009902/0.0009902, allocations: 157.3 kB / 24.99 MB, free: 8.258 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 0.8971/0.8971, allocations: 177 MB / 205.2 MB, free: 5.621 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.2633/0.2633, allocations: 34.86 MB / 296.6 MB, free: 0.543 MB / 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 2.165e-06/2.165e-06, allocations: 4 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.45e-05, allocations: 6.312 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002309/0.002323, allocations: 2.334 MB / 381.1 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.00348, allocations: 0.9551 MB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.003606, allocations: 7.938 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.003854, allocations: 127.1 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.004008, allocations: 99.33 kB / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.004414, allocations: 291.4 kB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.004896, allocations: 0.7328 MB / 383.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005003, allocations: 45.25 kB / 383.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.005318, allocations: 391.2 kB / 383.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.005569, allocations: 295.1 kB / 384 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.005632, allocations: 64 kB / 384.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-05/0.005684, allocations: 64 kB / 384.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.005804, allocations: 199.4 kB / 384.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.005934, allocations: 175.6 kB / 384.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.006272, allocations: 466.4 kB / 384.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006274, allocations: 0 / 384.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006274, allocations: 4 kB / 384.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006279, allocations: 0 / 384.9 MB, free: 12.18 MB / 362.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.001118/0.007397, allocations: 0.9167 MB / 385.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.007425, allocations: 8.031 kB / 385.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.00755, allocations: 112.6 kB / 386 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.007871, allocations: 311.1 kB / 386.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.00822, allocations: 0.663 MB / 386.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.008278, allocations: 44.38 kB / 387 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.009009, allocations: 0.5798 MB / 387.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.009022, allocations: 192 / 387.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.009061, allocations: 24.06 kB / 387.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.009072, allocations: 12 kB / 387.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.009785, allocations: 473.7 kB / 388.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.01134, allocations: 2.165 MB / 390.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009228/0.01226, allocations: 414.5 kB / 390.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.01254, allocations: 180.4 kB / 390.8 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.01259, allocations: 28.48 kB / 390.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.01261, allocations: 46.52 kB / 390.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/0.01261, allocations: 0 / 390.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01709/0.0297, allocations: 7.717 MB / 398.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.02975, allocations: 90.11 kB / 398.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.03001, allocations: 410.5 kB / 399.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.03012, allocations: 45.7 kB / 399.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.03023, allocations: 276.3 kB / 399.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.03049, allocations: 416.4 kB / 399.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.03084, allocations: 204.5 kB / 400 MB, free: 12.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.03098, allocations: 0.5469 MB / 400.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009074/0.03189, allocations: 0.6585 MB / 401.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000993/0.03288, allocations: 0.8412 MB / 402.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.03449, allocations: 1.3 MB / 403.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.0345, allocations: 0 / 403.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002353/0.03685, allocations: 1.614 MB / 405 MB, free: 7.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.03687, allocations: 7.984 kB / 405 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03688, allocations: 4 kB / 405 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.0369, allocations: 8 kB / 405 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.03809, allocations: 359.8 kB / 405.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.0381, allocations: 11.94 kB / 405.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.03888, allocations: 163.8 kB / 405.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.03897, allocations: 43.98 kB / 405.6 MB, free: 6.91 MB / 378.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 (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.0002908/0.03926, allocations: 228.2 kB / 405.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.03948, allocations: 103.6 kB / 405.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.0396, allocations: 108.7 kB / 406 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.0396, allocations: 12 kB / 406 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.03961, allocations: 4 kB / 406 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.03962, allocations: 7.969 kB / 406 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.04385, allocations: 3.233 MB / 409.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.04386, allocations: 23.98 kB / 409.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.04449, allocations: 303.9 kB / 409.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.0445, allocations: 24 kB / 409.6 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.04456, allocations: 52 kB / 409.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.968e-05/0.04458, allocations: 47.78 kB / 409.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/0.04459, allocations: 31.88 kB / 409.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.04651, allocations: 2.095 MB / 411.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.04673, allocations: 171.4 kB / 412 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.04681, allocations: 55.97 kB / 412 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.04733, allocations: 135.9 kB / 412.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.04759, allocations: 203.2 kB / 412.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.04765, allocations: 60 kB / 412.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.0478, allocations: 255.1 kB / 412.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0478, allocations: 3.938 kB / 412.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006047/0.0484, allocations: 239.9 kB / 412.9 MB, free: 14.7 MB / 394.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.000146/0.04855, allocations: 168.9 kB / 413.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.05009, allocations: 1.166 MB / 414.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.05009, allocations: 4 kB / 414.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.05056, allocations: 363.6 kB / 414.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.05133, allocations: 208.4 kB / 414.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.05329, allocations: 2.011 MB / 416.8 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.05343, allocations: 184.9 kB / 417 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/0.05401, allocations: 185.9 kB / 417.2 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.05439, allocations: 76.48 kB / 417.2 MB, free: 9.906 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0544, allocations: 0 / 417.2 MB, free: 9.906 MB / 394.7 MB Notification: Performance of Templates: time 0.0165/0.0709, allocations: 18.14 MB / 435.4 MB, free: 7.871 MB / 410.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 -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.498309043003246]