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.001283/0.001283, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009625/0.0009625, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.027/1.027, allocations: 177 MB / 204.9 MB, free: 5.555 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.2917/0.2917, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.504e-06/2.504e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.728e-05, allocations: 3.156 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003834/0.003871, allocations: 2.347 MB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.005678, allocations: 0.9628 MB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.005876, allocations: 7.938 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.006281, allocations: 119.2 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.006557, allocations: 103.3 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.00728, allocations: 307.3 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008287/0.008108, allocations: 0.725 MB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.008258, allocations: 45.25 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.008613, allocations: 391.2 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.008882, allocations: 287.2 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.008957, allocations: 64 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.009021, allocations: 60 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.00916, allocations: 203.4 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.009286, allocations: 179.5 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.009677, allocations: 470.4 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00968, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009681, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.009687, allocations: 0 / 385 MB, free: 11.83 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.001187/0.01087, allocations: 0.909 MB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.01091, allocations: 8.031 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.01105, allocations: 116.6 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.01142, allocations: 315.1 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.01175, allocations: 0.663 MB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.01182, allocations: 44.38 kB / 387 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.01258, allocations: 0.5837 MB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01259, allocations: 4.125 kB / 387.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.01263, allocations: 24.06 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01264, allocations: 12 kB / 387.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.01338, allocations: 465.7 kB / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.0151, allocations: 2.165 MB / 390.3 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.01592, allocations: 427.5 kB / 390.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.01618, allocations: 180.4 kB / 390.9 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.01624, allocations: 16.5 kB / 390.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.01627, allocations: 42.52 kB / 390.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.673e-06/0.01627, allocations: 0 / 390.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01852/0.03479, allocations: 7.717 MB / 398.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.03484, allocations: 90.11 kB / 398.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.03512, allocations: 414.5 kB / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.03522, allocations: 45.7 kB / 399.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.03534, allocations: 264.3 kB / 399.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.03566, allocations: 420.4 kB / 399.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.03603, allocations: 208.5 kB / 400 MB, free: 12.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.03618, allocations: 0.5508 MB / 400.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.03705, allocations: 0.6545 MB / 401.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.03819, allocations: 0.8451 MB / 402.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.0398, allocations: 1.296 MB / 403.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.0398, allocations: 0 / 403.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00218/0.04198, allocations: 1.614 MB / 405 MB, free: 7.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.04201, allocations: 4 kB / 405 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.04202, allocations: 4.312 kB / 405 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.04204, allocations: 12 kB / 405 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.04325, allocations: 351.5 kB / 405.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.04327, allocations: 11.94 kB / 405.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.0441, allocations: 171.8 kB / 405.5 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/0.0442, allocations: 40 kB / 405.6 MB, free: 6.562 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.0002906/0.04449, allocations: 236.2 kB / 405.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.0447, allocations: 103.6 kB / 405.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.04482, allocations: 104.7 kB / 406 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.04482, allocations: 12 kB / 406 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.04484, allocations: 4 kB / 406 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.04484, allocations: 3.984 kB / 406 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.04927, allocations: 3.234 MB / 409.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.04928, allocations: 20 kB / 409.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.04991, allocations: 308.2 kB / 409.6 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.04993, allocations: 28 kB / 409.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.04999, allocations: 51.94 kB / 409.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-05/0.05001, allocations: 43.8 kB / 409.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/0.05002, allocations: 31.88 kB / 409.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.05215, allocations: 2.102 MB / 411.8 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.05238, allocations: 171.2 kB / 412 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.05246, allocations: 51.98 kB / 412.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.05296, allocations: 139.9 kB / 412.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.05321, allocations: 199.2 kB / 412.4 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.05327, allocations: 59.98 kB / 412.5 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.05342, allocations: 267 kB / 412.7 MB, free: 14.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05343, allocations: 3.938 kB / 412.7 MB, free: 14.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005858/0.05401, allocations: 228 kB / 412.9 MB, free: 14.35 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.0001736/0.05418, allocations: 180.9 kB / 413.1 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.05568, allocations: 1.154 MB / 414.3 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.05568, allocations: 4 kB / 414.3 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.05615, allocations: 367.3 kB / 414.6 MB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.05695, allocations: 200.4 kB / 414.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.0591, allocations: 2.009 MB / 416.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.05925, allocations: 184.9 kB / 417 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005417/0.05979, allocations: 193.9 kB / 417.2 MB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.06021, allocations: 72.48 kB / 417.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06021, allocations: 0 / 417.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of Templates: time 0.01854/0.07875, allocations: 18.14 MB / 435.4 MB, free: 7.516 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.954960642848164]