Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 215.6 kB / 24.48 MB, free: 3.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.94 MB / 359.6 MB, free: 6.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 67.91 kB / 0.4942 GB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3191, allocations: 65.48 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003833/0.3229, allocations: 2.238 MB / 0.5604 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.3249, allocations: 0.9485 MB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3251, allocations: 11.88 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.3255, allocations: 115.3 kB / 0.5614 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.3258, allocations: 99.28 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.3265, allocations: 299.5 kB / 0.5618 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008033/0.3273, allocations: 0.721 MB / 0.5625 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3275, allocations: 48.91 kB / 0.5626 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.3279, allocations: 287.2 kB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.3283, allocations: 330.6 kB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3284, allocations: 64 kB / 0.5632 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3285, allocations: 60 kB / 0.5633 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.3288, allocations: 207.4 kB / 0.5635 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.329, allocations: 199.1 kB / 0.5636 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.3297, allocations: 0.5748 MB / 0.5642 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3297, allocations: 4 kB / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3297, allocations: 0 / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3297, allocations: 0 / 0.5642 GB, free: 1.293 MB / 398.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.002457/0.3321, allocations: 0.8831 MB / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3322, allocations: 8.031 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.3323, allocations: 64.61 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.333, allocations: 325.1 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006534/0.3337, allocations: 0.6786 MB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3338, allocations: 40.38 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.3361, allocations: 0.8165 MB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3361, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.3361, allocations: 16 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3362, allocations: 12 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.34, allocations: 1.208 MB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.3432, allocations: 1.841 MB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.3463, allocations: 0.7559 MB / 0.5707 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.348, allocations: 470.4 kB / 0.5711 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/0.3481, allocations: 8.547 kB / 0.5712 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3481, allocations: 39.69 kB / 0.5712 GB, free: 9.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.056e-06/0.3481, allocations: 0 / 0.5712 GB, free: 9.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.09184/0.44, allocations: 15.54 MB / 0.5864 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.4401, allocations: 90.11 kB / 0.5865 GB, free: 10.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.4407, allocations: 417.4 kB / 0.5869 GB, free: 9.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002057/0.4409, allocations: 49.7 kB / 0.5869 GB, free: 9.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.4411, allocations: 221.6 kB / 0.5871 GB, free: 9.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.4416, allocations: 432.2 kB / 0.5875 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.4422, allocations: 202.9 kB / 0.5877 GB, free: 8.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.4424, allocations: 378.6 kB / 0.5881 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004156/0.4466, allocations: 1.353 MB / 0.5894 GB, free: 7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00429/0.4509, allocations: 1.509 MB / 0.5909 GB, free: 5.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00774/0.4586, allocations: 2.455 MB / 0.5933 GB, free: 2.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.4586, allocations: 0 / 0.5933 GB, free: 2.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009049/0.4677, allocations: 2.855 MB / 0.5961 GB, free: 80 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4677, allocations: 4 kB / 0.5961 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4677, allocations: 4 kB / 0.5961 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/0.4678, allocations: 8 kB / 0.5961 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.4707, allocations: 407.6 kB / 0.5965 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/0.4707, allocations: 8 kB / 0.5965 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.473, allocations: 227.6 kB / 0.5967 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.4732, allocations: 43.98 kB / 0.5967 GB, free: 15.39 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: 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.0006114/0.4738, allocations: 233.9 kB / 0.597 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.4741, allocations: 67.58 kB / 0.597 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.4744, allocations: 108.7 kB / 0.5971 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4744, allocations: 12 kB / 0.5971 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.4744, allocations: 4 kB / 0.5971 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4744, allocations: 7.922 kB / 0.5971 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.4876, allocations: 4.787 MB / 0.6018 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.111e-05/0.4877, allocations: 23.94 kB / 0.6018 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.4893, allocations: 359.7 kB / 0.6022 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-05/0.4894, allocations: 28 kB / 0.6022 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.4895, allocations: 51.98 kB / 0.6023 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.966e-05/0.4896, allocations: 43.8 kB / 0.6023 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.759e-05/0.4896, allocations: 31.88 kB / 0.6023 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008557/0.4981, allocations: 3.147 MB / 0.6054 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/0.4987, allocations: 167.5 kB / 0.6056 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.4989, allocations: 51.98 kB / 0.6056 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.5004, allocations: 187.8 kB / 0.6058 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/0.5009, allocations: 223.2 kB / 0.606 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.501, allocations: 59.98 kB / 0.6061 GB, free: 5.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.5014, allocations: 287.1 kB / 0.6063 GB, free: 4.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5014, allocations: 0 / 0.6063 GB, free: 4.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001095/0.5025, allocations: 236 kB / 0.6066 GB, free: 4.688 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: 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.0002621/0.5027, allocations: 166.7 kB / 0.6067 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00706/0.5098, allocations: 2.187 MB / 0.6089 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.311e-05/0.5098, allocations: 4 kB / 0.6089 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003888/0.5137, allocations: 1.067 MB / 0.6099 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.5153, allocations: 151.2 kB / 0.6101 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.5201, allocations: 2.031 MB / 0.612 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.5206, allocations: 329.8 kB / 0.6123 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.5214, allocations: 79.41 kB / 0.6124 GB, free: 14.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5214, allocations: 0 / 0.6124 GB, free: 14.34 MB / 462.1 MB Notification: Performance of Templates: time 0.02632/0.5477, allocations: 14.52 MB / 0.6266 GB, free: 15.86 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.933799020014703]