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.001007/0.001007, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002543, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000954/0.000954, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002152, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.065/1.065, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09589/1.161, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2732/0.2732, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02332/0.2966, allocations: 13.23 MB / 292.6 MB, free: 6.48 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 1.483e-06/1.483e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.802e-05, allocations: 3.844 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002511/0.002529, allocations: 2.368 MB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003706, allocations: 0.9866 MB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.003839, allocations: 7.938 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.004074, allocations: 115.2 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004235, allocations: 103.3 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.004664, allocations: 303.3 kB / 297.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.005271, allocations: 0.7056 MB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005384, allocations: 65 kB / 298.5 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.005711, allocations: 431.8 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.005961, allocations: 287.2 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.006027, allocations: 60 kB / 299.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.006083, allocations: 64 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.006193, allocations: 147.5 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.006292, allocations: 115.8 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.006601, allocations: 394.7 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.006614, allocations: 7.938 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006614, allocations: 0 / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.00663, allocations: 0 / 300 MB, free: 15.05 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.001058/0.007688, allocations: 0.8709 MB / 300.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.007718, allocations: 12.92 kB / 300.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.007812, allocations: 100.9 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.008107, allocations: 248.5 kB / 301.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005821/0.00869, allocations: 0.6669 MB / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.008749, allocations: 44.34 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.009306, allocations: 0.5197 MB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.009323, allocations: 8.125 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.009357, allocations: 20.12 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.009366, allocations: 8 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.009843, allocations: 341.9 kB / 302.8 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01105, allocations: 1.427 MB / 304.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.01166, allocations: 444.4 kB / 304.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.01183, allocations: 139.3 kB / 304.8 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.01188, allocations: 12.5 kB / 304.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.0119, allocations: 43.67 kB / 304.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.633e-06/0.0119, allocations: 0 / 304.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01664/0.02854, allocations: 7.719 MB / 312.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.02859, allocations: 90.11 kB / 312.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.02879, allocations: 323.2 kB / 313 MB, free: 1.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/0.02889, allocations: 49.69 kB / 313 MB, free: 1.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.02898, allocations: 198 kB / 313.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.02922, allocations: 428.2 kB / 313.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.02952, allocations: 198.8 kB / 313.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.02963, allocations: 378.6 kB / 314.2 MB, free: 368 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.03011, allocations: 417.4 kB / 314.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.03066, allocations: 0.5799 MB / 315.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.03165, allocations: 1.003 MB / 316.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.03165, allocations: 3.938 kB / 316.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001205/0.03286, allocations: 1.093 MB / 317.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.03288, allocations: 4 kB / 317.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.03289, allocations: 7.938 kB / 317.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.0329, allocations: 8 kB / 317.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.03405, allocations: 399.7 kB / 317.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.03406, allocations: 8 kB / 317.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.03469, allocations: 155.8 kB / 317.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.03476, allocations: 39.97 kB / 317.9 MB, free: 12.56 MB / 314.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.0002526/0.03501, allocations: 184.4 kB / 318.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.03518, allocations: 75.94 kB / 318.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.03529, allocations: 108.7 kB / 318.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.03529, allocations: 12 kB / 318.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.0353, allocations: 0 / 318.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.03532, allocations: 7.969 kB / 318.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.0386, allocations: 2.588 MB / 320.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.03861, allocations: 20 kB / 320.9 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.03921, allocations: 323.4 kB / 321.2 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.03939, allocations: 107.5 kB / 321.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.03941, allocations: 27.94 kB / 321.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.03945, allocations: 48 kB / 321.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.03947, allocations: 44.02 kB / 321.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/0.03949, allocations: 31.88 kB / 321.5 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.04069, allocations: 1.62 MB / 323.1 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.04077, allocations: 51.98 kB / 323.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.04122, allocations: 143.8 kB / 323.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.04145, allocations: 211.1 kB / 323.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.0415, allocations: 51.98 kB / 323.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.04158, allocations: 120.7 kB / 323.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04158, allocations: 0 / 323.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.04211, allocations: 236 kB / 323.9 MB, free: 5.969 MB / 314.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.0001544/0.04226, allocations: 147.9 kB / 324 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000973/0.04324, allocations: 0.908 MB / 324.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.844e-05/0.04327, allocations: 15.92 kB / 324.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.04363, allocations: 351.8 kB / 325.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.04435, allocations: 253 kB / 325.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.04667, allocations: 2.068 MB / 327.6 MB, free: 1.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.04681, allocations: 180.9 kB / 327.8 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005137/0.04732, allocations: 165.9 kB / 327.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.04787, allocations: 183.3 kB / 328.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.04787, allocations: 0 / 328.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of Templates: time 0.01871/0.06657, allocations: 19.38 MB / 347.5 MB, free: 14.14 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 -emit_protected -ignoreHideResult -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.2674953378736973]