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.001076/0.001076, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001034/0.001034, allocations: 169.2 kB / 25.61 MB, free: 8.91 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.9573/0.9573, allocations: 177 MB / 205.9 MB, free: 4.426 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.1708/0.1708, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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 3.457e-06/3.457e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.17e-05/4.516e-05, allocations: 5.047 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003237/0.003282, allocations: 2.315 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.004775, allocations: 0.9628 MB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.005016, allocations: 7.938 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.005479, allocations: 119.3 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.005706, allocations: 103.2 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.00639, allocations: 303.3 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000556/0.006946, allocations: 0.725 MB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.007112, allocations: 41.27 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.007429, allocations: 399.2 kB / 385 MB, free: 17.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.007749, allocations: 295.2 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.007829, allocations: 60 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.007895, allocations: 64 kB / 385.4 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.008044, allocations: 199.4 kB / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.008161, allocations: 175.5 kB / 385.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.008567, allocations: 466.5 kB / 386.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.008574, allocations: 0 / 386.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.008575, allocations: 3.938 kB / 386.2 MB, free: 16.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.008583, allocations: 4 kB / 386.2 MB, free: 16.53 MB / 314.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.001228/0.009811, allocations: 0.9206 MB / 387.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.009865, allocations: 8.031 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.01, allocations: 108.6 kB / 387.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.01038, allocations: 299.2 kB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.01062, allocations: 0.6552 MB / 388.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.0107, allocations: 48.33 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.01131, allocations: 0.5407 MB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.01133, allocations: 4.188 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.01137, allocations: 24.12 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.01138, allocations: 8 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.01192, allocations: 389.2 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.01346, allocations: 2.116 MB / 391.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.0142, allocations: 379.4 kB / 391.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.01438, allocations: 156.4 kB / 391.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.304e-05/0.01444, allocations: 12.56 kB / 391.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.01447, allocations: 46.45 kB / 391.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.325e-06/0.01447, allocations: 0 / 391.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.0159/0.03037, allocations: 7.183 MB / 399.1 MB, free: 3.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.03042, allocations: 90.11 kB / 399.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.03069, allocations: 406.3 kB / 399.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.0308, allocations: 45.7 kB / 399.6 MB, free: 2.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.0309, allocations: 268.2 kB / 399.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.03112, allocations: 424.2 kB / 400.3 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.03147, allocations: 212.4 kB / 400.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.03156, allocations: 0.5546 MB / 401 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.03211, allocations: 0.5101 MB / 401.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.03276, allocations: 0.7082 MB / 402.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.03402, allocations: 1.085 MB / 403.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.03403, allocations: 0 / 403.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001962/0.03599, allocations: 1.352 MB / 404.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.03602, allocations: 8 kB / 404.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.03603, allocations: 4 kB / 404.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.03606, allocations: 11.98 kB / 404.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.03738, allocations: 355.8 kB / 405.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.03739, allocations: 8 kB / 405.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.03828, allocations: 167.7 kB / 405.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.03837, allocations: 31.98 kB / 405.3 MB, free: 12.81 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.0003568/0.03873, allocations: 224.3 kB / 405.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.03898, allocations: 107.5 kB / 405.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.03912, allocations: 112.7 kB / 405.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.03913, allocations: 12 kB / 405.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.03914, allocations: 3.984 kB / 405.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.03915, allocations: 3.984 kB / 405.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/0.04372, allocations: 3.123 MB / 408.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.04374, allocations: 20 kB / 408.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.04443, allocations: 303.9 kB / 409.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.206e-05/0.04445, allocations: 28 kB / 409.2 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.04452, allocations: 51.94 kB / 409.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.391e-05/0.04455, allocations: 39.86 kB / 409.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.759e-05/0.04456, allocations: 35.81 kB / 409.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.04631, allocations: 1.977 MB / 411.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.04656, allocations: 171.4 kB / 411.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.04664, allocations: 59.92 kB / 411.5 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.04719, allocations: 135.9 kB / 411.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.04746, allocations: 203.3 kB / 411.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.04751, allocations: 55.98 kB / 411.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.04765, allocations: 239 kB / 412.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04765, allocations: 0 / 412.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007028/0.04836, allocations: 244 kB / 412.4 MB, free: 4.855 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.0001754/0.04853, allocations: 159.4 kB / 412.5 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.04979, allocations: 1.008 MB / 413.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.0498, allocations: 4 kB / 413.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.05021, allocations: 347.5 kB / 413.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.05102, allocations: 212.1 kB / 414.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.05315, allocations: 1.989 MB / 416.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.05333, allocations: 184.9 kB / 416.2 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006994/0.05403, allocations: 165.9 kB / 416.4 MB, free: 360 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/0.05468, allocations: 206.2 kB / 416.6 MB, free: 152 kB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.05468, allocations: 0 / 416.6 MB, free: 152 kB / 330.7 MB Notification: Performance of Templates: time 0.02442/0.07911, allocations: 19.96 MB / 436.6 MB, free: 12.32 MB / 362.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.826631374191493]