Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001796/0.001796, allocations: 115.5 kB / 19.18 MB, free: 3.871 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.002339/0.002339, allocations: 210.4 kB / 22.13 MB, free: 0.918 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.491/1.491, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.228/0.228, allocations: 46.89 MB / 358.1 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 79.86 kB / 0.4924 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1385, allocations: 65.99 MB / 0.5568 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003837/0.1423, allocations: 2.428 MB / 0.5592 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1442, allocations: 0.9786 MB / 0.5601 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.1444, allocations: 15.88 kB / 0.5601 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1448, allocations: 119.3 kB / 0.5603 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.145, allocations: 95.33 kB / 0.5603 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.1457, allocations: 295.5 kB / 0.5606 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.1465, allocations: 0.7093 MB / 0.5613 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1467, allocations: 53.06 kB / 0.5614 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.1471, allocations: 295 kB / 0.5616 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.1475, allocations: 350.7 kB / 0.562 GB, free: 424 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1477, allocations: 60 kB / 0.562 GB, free: 364 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.1478, allocations: 56 kB / 0.5621 GB, free: 308 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.148, allocations: 199.4 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.1482, allocations: 234.8 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.1488, allocations: 0.5602 MB / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1488, allocations: 0 / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1488, allocations: 0 / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1489, allocations: 0 / 0.5631 GB, free: 15.31 MB / 430.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.002403/0.1513, allocations: 0.9466 MB / 0.564 GB, free: 14.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1513, allocations: 12.02 kB / 0.564 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1514, allocations: 68.61 kB / 0.5641 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.1521, allocations: 387.3 kB / 0.5644 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.1525, allocations: 263.6 kB / 0.5647 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1526, allocations: 44.38 kB / 0.5647 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.1548, allocations: 0.8087 MB / 0.5655 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.1548, allocations: 3.938 kB / 0.5655 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.1548, allocations: 16 kB / 0.5655 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1549, allocations: 12 kB / 0.5655 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/0.1586, allocations: 1.197 MB / 0.5667 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.1616, allocations: 2.028 MB / 0.5687 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.1648, allocations: 0.7738 MB / 0.5694 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.1664, allocations: 458.4 kB / 0.5699 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.1664, allocations: 15.98 kB / 0.5699 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1665, allocations: 42.5 kB / 0.5699 GB, free: 7.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.665e-06/0.1665, allocations: 0 / 0.5699 GB, free: 7.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=120): time 0.09077/0.2573, allocations: 15.77 MB / 0.5853 GB, free: 8.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.2573, allocations: 94.23 kB / 0.5854 GB, free: 7.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.2579, allocations: 393.4 kB / 0.5858 GB, free: 7.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.2581, allocations: 45.7 kB / 0.5859 GB, free: 7.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2582, allocations: 225.5 kB / 0.5861 GB, free: 7.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/0.2587, allocations: 420.3 kB / 0.5865 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/0.2593, allocations: 198.9 kB / 0.5867 GB, free: 6.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2595, allocations: 370.8 kB / 0.587 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.2633, allocations: 1.345 MB / 0.5883 GB, free: 4.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.2674, allocations: 1.493 MB / 0.5898 GB, free: 3.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007226/0.2746, allocations: 2.449 MB / 0.5922 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2746, allocations: 4 kB / 0.5922 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.2957/0.5703, allocations: 2.826 MB / 0.5949 GB, free: 37.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.5703, allocations: 7.328 kB / 0.5949 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5703, allocations: 3 kB / 0.5949 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/0.5704, allocations: 8.25 kB / 0.595 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.5732, allocations: 409.4 kB / 0.5953 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.5732, allocations: 13.75 kB / 0.5954 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.5753, allocations: 218.9 kB / 0.5956 GB, free: 37.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5754, allocations: 42.48 kB / 0.5956 GB, free: 37.5 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.000488/0.5759, allocations: 226.5 kB / 0.5958 GB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.5762, allocations: 67.92 kB / 0.5959 GB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.5765, allocations: 111.1 kB / 0.596 GB, free: 37.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.5765, allocations: 12.33 kB / 0.596 GB, free: 37.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.5765, allocations: 4.594 kB / 0.596 GB, free: 37.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5765, allocations: 6.562 kB / 0.596 GB, free: 37.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.5889, allocations: 5.233 MB / 0.6011 GB, free: 35.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.589, allocations: 22.72 kB / 0.6012 GB, free: 35.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.5907, allocations: 359.3 kB / 0.6015 GB, free: 35.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.741e-05/0.5907, allocations: 29.22 kB / 0.6015 GB, free: 35.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5908, allocations: 42.78 kB / 0.6016 GB, free: 35.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.403e-05/0.5909, allocations: 44.06 kB / 0.6016 GB, free: 35.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-05/0.5909, allocations: 35.66 kB / 0.6016 GB, free: 35.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/0.5985, allocations: 3.093 MB / 0.6047 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.599, allocations: 237.6 kB / 0.6049 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.5992, allocations: 54.23 kB / 0.6049 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.6006, allocations: 191.7 kB / 0.6051 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/0.601, allocations: 221.2 kB / 0.6053 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/0.6011, allocations: 57.03 kB / 0.6054 GB, free: 33.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.6014, allocations: 264.4 kB / 0.6056 GB, free: 33.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6014, allocations: 0 / 0.6056 GB, free: 33.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00107/0.6025, allocations: 228.1 kB / 0.6059 GB, free: 33.04 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.0002187/0.6027, allocations: 166.8 kB / 0.606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006619/0.6093, allocations: 2.161 MB / 0.6081 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/0.6093, allocations: 7.5 kB / 0.6081 GB, free: 32.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.6129, allocations: 1.047 MB / 0.6092 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.6142, allocations: 157.1 kB / 0.6093 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.6182, allocations: 2.015 MB / 0.6113 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.6187, allocations: 0.9242 MB / 0.6122 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/0.6195, allocations: 77.28 kB / 0.6122 GB, free: 29.56 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6195, allocations: 0.9844 kB / 0.6122 GB, free: 29.56 MB / 446.1 MB Notification: Performance of Templates: time 0.02107/0.6406, allocations: 14.33 MB / 0.6262 GB, free: 20.79 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.069476868025959]