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.0007785/0.0007785, allocations: 92.28 kB / 21.44 MB, free: 3.129 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.003598/0.003598, allocations: 157.9 kB / 24.7 MB, free: 8.906 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.8805/0.8805, allocations: 177 MB / 204.9 MB, free: 5.742 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.2441/0.2441, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.304e-06/2.304e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.61e-05, allocations: 6.281 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.1952/0.1952, allocations: 2.244 MB / 445.7 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1964, allocations: 0.9487 MB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1965, allocations: 8.5 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.1968, allocations: 122 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.197, allocations: 101.3 kB / 446.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.1974, allocations: 297.8 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.1978, allocations: 0.7266 MB / 447.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.198, allocations: 45.44 kB / 447.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1982, allocations: 394.1 kB / 448.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1985, allocations: 290 kB / 448.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.1985, allocations: 62.72 kB / 448.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.1986, allocations: 61.72 kB / 448.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1987, allocations: 203.6 kB / 448.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.1988, allocations: 183.3 kB / 449.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.1992, allocations: 0.6094 MB / 449.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1992, allocations: 2.969 kB / 449.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1992, allocations: 3.281 kB / 449.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1992, allocations: 0 / 449.7 MB, free: 41.62 MB / 410.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.001208/0.2004, allocations: 0.8776 MB / 450.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2004, allocations: 8.625 kB / 450.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.2005, allocations: 65.33 kB / 450.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.2009, allocations: 318.9 kB / 450.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.2012, allocations: 0.6728 MB / 451.6 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.2012, allocations: 38.91 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.2023, allocations: 0.822 MB / 452.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2023, allocations: 192 / 452.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.2023, allocations: 21.75 kB / 452.5 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2023, allocations: 15.28 kB / 452.5 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.2041, allocations: 1.211 MB / 453.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2055, allocations: 1.846 MB / 455.6 MB, free: 38.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.207, allocations: 0.7556 MB / 456.3 MB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.2077, allocations: 468.3 kB / 456.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.2078, allocations: 12.38 kB / 456.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.2078, allocations: 38.5 kB / 456.8 MB, free: 37.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 1.903e-06/0.2078, allocations: 0 / 456.8 MB, free: 37.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.04077/0.2486, allocations: 15.54 MB / 472.4 MB, free: 34.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2486, allocations: 89.86 kB / 472.5 MB, free: 34.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.2489, allocations: 419 kB / 472.9 MB, free: 33.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.249, allocations: 45.02 kB / 472.9 MB, free: 33.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.2491, allocations: 221.4 kB / 473.1 MB, free: 33.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.2493, allocations: 418.7 kB / 473.5 MB, free: 33.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.2497, allocations: 201.5 kB / 473.7 MB, free: 33.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.2497, allocations: 375.7 kB / 474.1 MB, free: 32.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.2517, allocations: 1.352 MB / 475.4 MB, free: 32.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.2539, allocations: 1.505 MB / 477 MB, free: 31.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.2578, allocations: 2.458 MB / 479.4 MB, free: 30.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2578, allocations: 2.156 kB / 479.4 MB, free: 30.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005018/0.2629, allocations: 2.855 MB / 482.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.2629, allocations: 7.188 kB / 482.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2629, allocations: 5.672 kB / 482.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.2629, allocations: 9.641 kB / 482.3 MB, free: 29.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.2643, allocations: 411.2 kB / 482.7 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.2643, allocations: 12.31 kB / 482.7 MB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.2653, allocations: 220.5 kB / 482.9 MB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.2654, allocations: 44.98 kB / 483 MB, free: 29.56 MB / 410.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.0003294/0.2657, allocations: 237.8 kB / 483.2 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2658, allocations: 66.77 kB / 483.3 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2659, allocations: 112.6 kB / 483.4 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.266, allocations: 12.47 kB / 483.4 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.266, allocations: 4 kB / 483.4 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.266, allocations: 7.312 kB / 483.4 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/0.2728, allocations: 4.789 MB / 488.2 MB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.2728, allocations: 26.19 kB / 488.2 MB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.2736, allocations: 353.1 kB / 488.6 MB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.2736, allocations: 32.25 kB / 488.6 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.2737, allocations: 52.06 kB / 488.6 MB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.131e-05/0.2737, allocations: 39.61 kB / 488.7 MB, free: 26.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.476e-05/0.2737, allocations: 36.09 kB / 488.7 MB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/0.2783, allocations: 3.08 MB / 491.8 MB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.2786, allocations: 181.2 kB / 492 MB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.2787, allocations: 51.62 kB / 492 MB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/0.2794, allocations: 192.4 kB / 492.2 MB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/0.2797, allocations: 224.2 kB / 492.4 MB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.2798, allocations: 58.3 kB / 492.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002606/0.2801, allocations: 278.7 kB / 492.8 MB, free: 24.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2801, allocations: 1.094 kB / 492.8 MB, free: 24.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007334/0.2808, allocations: 237.9 kB / 493 MB, free: 24.77 MB / 410.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.0001584/0.2809, allocations: 167.9 kB / 493.2 MB, free: 24.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.2847, allocations: 2.19 MB / 495.3 MB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.2847, allocations: 3.562 kB / 495.3 MB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.2869, allocations: 1.058 MB / 496.4 MB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.2876, allocations: 151.5 kB / 496.5 MB, free: 23.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.29, allocations: 1.995 MB / 498.5 MB, free: 22.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2903, allocations: 322 kB / 498.9 MB, free: 21.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.2907, allocations: 85.7 kB / 498.9 MB, free: 21.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.2907, allocations: 4 kB / 498.9 MB, free: 21.9 MB / 410.7 MB Notification: Performance of Templates: time 0.009822/0.3005, allocations: 14.51 MB / 0.5014 GB, free: 9.137 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.167979513294995]