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.001679/0.001679, allocations: 117 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001989/0.001989, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 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.49/1.49, allocations: 227.4 MB / 252.3 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] 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.2534/0.2534, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 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 0.003317/0.003317, allocations: 81.17 kB / 490.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.2, allocations: 62.44 MB / 0.5403 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005854/0.206, allocations: 2.431 MB / 0.5427 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.2091, allocations: 0.9708 MB / 0.5437 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.2094, allocations: 11.88 kB / 0.5437 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.2101, allocations: 119.3 kB / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.2106, allocations: 91.34 kB / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2118, allocations: 291.5 kB / 0.5441 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.213, allocations: 0.7171 MB / 0.5448 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.2133, allocations: 72.98 kB / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.2139, allocations: 295 kB / 0.5452 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.2145, allocations: 334.7 kB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.2147, allocations: 60 kB / 0.5456 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.2149, allocations: 60 kB / 0.5456 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.2152, allocations: 187.5 kB / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.2155, allocations: 238.7 kB / 0.546 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2167, allocations: 0.5564 MB / 0.5466 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2167, allocations: 0 / 0.5466 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2167, allocations: 0 / 0.5466 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.2167, allocations: 0 / 0.5466 GB, free: 13.81 MB / 414.1 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.003412/0.2202, allocations: 0.9466 MB / 0.5475 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.2202, allocations: 16.03 kB / 0.5475 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.2204, allocations: 64.61 kB / 0.5476 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.2214, allocations: 387.3 kB / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005494/0.222, allocations: 259.7 kB / 0.5482 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.2221, allocations: 44.38 kB / 0.5482 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.2253, allocations: 0.8087 MB / 0.549 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.2253, allocations: 4 kB / 0.549 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.2254, allocations: 16 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.2255, allocations: 15.94 kB / 0.5491 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005484/0.231, allocations: 1.197 MB / 0.5502 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.2345, allocations: 2.027 MB / 0.5522 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.2378, allocations: 0.8285 MB / 0.553 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.2394, allocations: 493.3 kB / 0.5535 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.751e-05/0.2395, allocations: 11.98 kB / 0.5535 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.2396, allocations: 54.44 kB / 0.5536 GB, free: 6.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.766e-06/0.2396, allocations: 0 / 0.5536 GB, free: 6.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09145/0.331, allocations: 15.77 MB / 0.569 GB, free: 6.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.3312, allocations: 94.17 kB / 0.569 GB, free: 6.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.3318, allocations: 393.4 kB / 0.5694 GB, free: 5.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.3319, allocations: 45.7 kB / 0.5695 GB, free: 5.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.3322, allocations: 221.6 kB / 0.5697 GB, free: 5.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.3326, allocations: 420.4 kB / 0.5701 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/0.3332, allocations: 202.8 kB / 0.5703 GB, free: 5.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.3335, allocations: 370.8 kB / 0.5706 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.3375, allocations: 1.338 MB / 0.5719 GB, free: 3.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/0.3417, allocations: 1.501 MB / 0.5734 GB, free: 1.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007647/0.3493, allocations: 2.445 MB / 0.5758 GB, free: 15.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3494, allocations: 0 / 0.5758 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008966/0.3583, allocations: 2.842 MB / 0.5786 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.3584, allocations: 4 kB / 0.5786 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3584, allocations: 4 kB / 0.5786 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.3585, allocations: 8 kB / 0.5786 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.3613, allocations: 407.6 kB / 0.579 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.3614, allocations: 11.94 kB / 0.579 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.3634, allocations: 215.7 kB / 0.5792 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.3636, allocations: 39.98 kB / 0.5792 GB, free: 11.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.000492/0.3641, allocations: 230.9 kB / 0.5794 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.3643, allocations: 67.62 kB / 0.5795 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3646, allocations: 108.7 kB / 0.5796 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.3647, allocations: 12 kB / 0.5796 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.3647, allocations: 7.922 kB / 0.5796 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3647, allocations: 7.984 kB / 0.5796 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.3775, allocations: 5.231 MB / 0.5847 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/0.3776, allocations: 23.94 kB / 0.5848 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.3791, allocations: 352.1 kB / 0.5851 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-05/0.3792, allocations: 28 kB / 0.5851 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3793, allocations: 51.98 kB / 0.5852 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/0.3793, allocations: 35.86 kB / 0.5852 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.154e-05/0.3794, allocations: 31.88 kB / 0.5852 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008252/0.3876, allocations: 3.098 MB / 0.5883 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.3882, allocations: 244.5 kB / 0.5885 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3883, allocations: 51.98 kB / 0.5886 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.3897, allocations: 191.8 kB / 0.5887 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/0.3902, allocations: 223.2 kB / 0.589 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.3903, allocations: 56 kB / 0.589 GB, free: 1.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.3906, allocations: 271.1 kB / 0.5893 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3906, allocations: 0 / 0.5893 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009864/0.3916, allocations: 228 kB / 0.5895 GB, free: 0.5859 MB / 446.1 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.0002371/0.3918, allocations: 170.7 kB / 0.5896 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006843/0.3987, allocations: 2.393 MB / 0.592 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.3987, allocations: 4.125 kB / 0.592 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003713/0.4025, allocations: 1.067 MB / 0.593 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.4038, allocations: 146.4 kB / 0.5932 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.408, allocations: 2.008 MB / 0.5951 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.4087, allocations: 0.9204 MB / 0.596 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/0.4094, allocations: 83.41 kB / 0.5961 GB, free: 9.461 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4094, allocations: 3.938 kB / 0.5961 GB, free: 9.457 MB / 462.1 MB Notification: Performance of Templates: time 0.2993/0.7087, allocations: 14.32 MB / 0.6101 GB, free: 57.28 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.617746156058274]