Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00165/0.00165, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001571/0.001571, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.592/1.592, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2659/0.2659, allocations: 46.93 MB / 357.1 MB, free: 10.3 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+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.1.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.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 67.89 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1592, allocations: 66 MB / 0.5559 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004322/0.1636, allocations: 2.428 MB / 0.5582 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1659, allocations: 0.9825 MB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.1662, allocations: 19.81 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1667, allocations: 107.3 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1671, allocations: 103.3 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1682, allocations: 287.5 kB / 0.5597 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.1694, allocations: 0.7171 MB / 0.5604 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1696, allocations: 53.05 kB / 0.5604 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000644/0.1702, allocations: 303 kB / 0.5607 GB, free: 328 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.1709, allocations: 346.8 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.1711, allocations: 60 kB / 0.5611 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1713, allocations: 60 kB / 0.5612 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.1716, allocations: 187.4 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.172, allocations: 242.7 kB / 0.5616 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.1729, allocations: 0.5524 MB / 0.5621 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1729, allocations: 3.938 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1729, allocations: 4 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.1729, allocations: 0 / 0.5621 GB, free: 14.88 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.002947/0.1758, allocations: 0.9504 MB / 0.563 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1759, allocations: 12.03 kB / 0.5631 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1761, allocations: 64.61 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.1769, allocations: 391.3 kB / 0.5635 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000482/0.1773, allocations: 259.7 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1775, allocations: 44.36 kB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.1799, allocations: 0.8165 MB / 0.5646 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.1799, allocations: 0 / 0.5646 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.18, allocations: 16 kB / 0.5646 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.18, allocations: 8 kB / 0.5646 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/0.1841, allocations: 1.2 MB / 0.5658 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.1878, allocations: 2.027 MB / 0.5678 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.1912, allocations: 0.7699 MB / 0.5685 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.1929, allocations: 462.4 kB / 0.5689 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.193, allocations: 15.98 kB / 0.569 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.1931, allocations: 38.5 kB / 0.569 GB, free: 7.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 4.148e-06/0.1931, allocations: 0 / 0.569 GB, free: 7.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=120): time 0.09623/0.2893, allocations: 15.77 MB / 0.5844 GB, free: 7.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.2894, allocations: 94.22 kB / 0.5845 GB, free: 7.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.29, allocations: 397.4 kB / 0.5849 GB, free: 7.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.2902, allocations: 45.7 kB / 0.5849 GB, free: 7.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2904, allocations: 221.6 kB / 0.5851 GB, free: 6.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005511/0.2909, allocations: 416.4 kB / 0.5855 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/0.2917, allocations: 210.8 kB / 0.5857 GB, free: 6.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003849/0.2921, allocations: 370.8 kB / 0.5861 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/0.2963, allocations: 1.342 MB / 0.5874 GB, free: 4.484 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0043/0.3006, allocations: 1.501 MB / 0.5888 GB, free: 2.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007591/0.3082, allocations: 2.438 MB / 0.5912 GB, free: 464 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3082, allocations: 0 / 0.5912 GB, free: 464 kB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.3503/0.6585, allocations: 2.826 MB / 0.594 GB, free: 37.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.6586, allocations: 8.109 kB / 0.594 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6586, allocations: 3.469 kB / 0.594 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.6586, allocations: 8.625 kB / 0.594 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.6616, allocations: 414.3 kB / 0.5944 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.6617, allocations: 12 kB / 0.5944 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.6638, allocations: 214.3 kB / 0.5946 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.6639, allocations: 44.03 kB / 0.5947 GB, free: 37.29 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.000518/0.6644, allocations: 235.9 kB / 0.5949 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.6647, allocations: 66.19 kB / 0.595 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.665, allocations: 108.7 kB / 0.5951 GB, free: 37.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.665, allocations: 13.58 kB / 0.5951 GB, free: 37.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.6651, allocations: 9.875 kB / 0.5951 GB, free: 37.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.6651, allocations: 8.094 kB / 0.5951 GB, free: 37.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.6786, allocations: 5.229 MB / 0.6002 GB, free: 34.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/0.6786, allocations: 21.14 kB / 0.6002 GB, free: 34.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.6803, allocations: 357.5 kB / 0.6006 GB, free: 34.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-05/0.6804, allocations: 28.89 kB / 0.6006 GB, free: 34.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.6805, allocations: 47.86 kB / 0.6006 GB, free: 34.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-05/0.6806, allocations: 39.84 kB / 0.6007 GB, free: 34.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.919e-05/0.6806, allocations: 35.17 kB / 0.6007 GB, free: 34.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/0.6885, allocations: 3.098 MB / 0.6037 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.6891, allocations: 238.6 kB / 0.604 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.6892, allocations: 54.44 kB / 0.604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.6908, allocations: 190.8 kB / 0.6042 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/0.6913, allocations: 221 kB / 0.6044 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.74e-05/0.6914, allocations: 55.39 kB / 0.6044 GB, free: 32.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003901/0.6918, allocations: 262.6 kB / 0.6047 GB, free: 32.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6918, allocations: 0 / 0.6047 GB, free: 32.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001239/0.6931, allocations: 236 kB / 0.6049 GB, free: 32.7 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.0002401/0.6933, allocations: 163.2 kB / 0.6051 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00768/0.701, allocations: 2.157 MB / 0.6072 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/0.701, allocations: 3.281 kB / 0.6072 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/0.7049, allocations: 1.048 MB / 0.6082 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.7065, allocations: 160.1 kB / 0.6084 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.7106, allocations: 1.964 MB / 0.6103 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.7112, allocations: 0.925 MB / 0.6112 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.7123, allocations: 208.2 kB / 0.6114 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.7129, allocations: 69.94 kB / 0.6115 GB, free: 29.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7129, allocations: 3.938 kB / 0.6115 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Templates: time 0.02623/0.7392, allocations: 16.89 MB / 0.6279 GB, free: 17.55 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 6.5441202484071255]