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.001612/0.001612, allocations: 107.6 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.001751/0.001751, allocations: 207.5 kB / 24.48 MB, free: 3.695 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.425/1.425, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2385/0.2385, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.001924/0.001924, allocations: 71.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3733, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005356/0.3786, allocations: 2.251 MB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.3813, allocations: 0.9446 MB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.3815, allocations: 7.938 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.382, allocations: 123.2 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.3823, allocations: 103.3 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3834, allocations: 291.6 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3846, allocations: 0.721 MB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.3848, allocations: 52.06 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.3853, allocations: 295.1 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.386, allocations: 354.7 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.3862, allocations: 64 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3863, allocations: 60 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.3867, allocations: 199.4 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.387, allocations: 207 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009036/0.3879, allocations: 0.5795 MB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3879, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3879, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3879, allocations: 0 / 0.5679 GB, free: 13.93 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.003787/0.3917, allocations: 0.8753 MB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3918, allocations: 16.03 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3919, allocations: 68.55 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.3929, allocations: 321.1 kB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000911/0.3938, allocations: 0.6708 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.3939, allocations: 36.38 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.3975, allocations: 0.8243 MB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.3975, allocations: 7.938 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.3976, allocations: 23.94 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.3976, allocations: 8 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005644/0.4033, allocations: 1.208 MB / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.4064, allocations: 1.837 MB / 0.5736 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.4094, allocations: 0.7594 MB / 0.5744 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.411, allocations: 466.4 kB / 0.5748 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.411, allocations: 8.562 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4111, allocations: 39.69 kB / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.956e-06/0.4111, allocations: 0 / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.09516/0.5062, allocations: 15.55 MB / 0.59 GB, free: 6.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.5063, allocations: 94.05 kB / 0.5901 GB, free: 6.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.5069, allocations: 417.4 kB / 0.5905 GB, free: 6.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.5071, allocations: 45.7 kB / 0.5906 GB, free: 6.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.5072, allocations: 213.6 kB / 0.5908 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.5077, allocations: 428.3 kB / 0.5912 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006116/0.5083, allocations: 202.9 kB / 0.5914 GB, free: 5.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5085, allocations: 374.7 kB / 0.5917 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003898/0.5124, allocations: 1.357 MB / 0.5931 GB, free: 3.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.5164, allocations: 1.509 MB / 0.5945 GB, free: 2.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.5234, allocations: 2.455 MB / 0.5969 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.5234, allocations: 0 / 0.5969 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008184/0.5316, allocations: 2.855 MB / 0.5997 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.5317, allocations: 8.25 kB / 0.5997 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5317, allocations: 8 kB / 0.5997 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.5317, allocations: 8 kB / 0.5997 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.5347, allocations: 407.4 kB / 0.6001 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.831e-05/0.5347, allocations: 11.94 kB / 0.6001 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.5369, allocations: 223.6 kB / 0.6004 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.5371, allocations: 43.98 kB / 0.6004 GB, free: 12.03 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.0005259/0.5376, allocations: 230 kB / 0.6006 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.5379, allocations: 67.56 kB / 0.6007 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.5381, allocations: 112.7 kB / 0.6008 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5381, allocations: 15.94 kB / 0.6008 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5381, allocations: 0 / 0.6008 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5382, allocations: 7.922 kB / 0.6008 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.5503, allocations: 4.791 MB / 0.6055 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/0.5503, allocations: 24 kB / 0.6055 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.552, allocations: 355.4 kB / 0.6058 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-05/0.552, allocations: 32 kB / 0.6059 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.5521, allocations: 44 kB / 0.6059 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-05/0.5522, allocations: 43.86 kB / 0.606 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.233e-05/0.5522, allocations: 35.81 kB / 0.606 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007893/0.5601, allocations: 3.146 MB / 0.6091 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.5607, allocations: 163.5 kB / 0.6092 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.5608, allocations: 55.97 kB / 0.6093 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.5622, allocations: 195.8 kB / 0.6095 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/0.5627, allocations: 223.2 kB / 0.6097 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5628, allocations: 56 kB / 0.6097 GB, free: 1.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.5632, allocations: 283.1 kB / 0.61 GB, free: 1.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5632, allocations: 0 / 0.61 GB, free: 1.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001065/0.5642, allocations: 232 kB / 0.6102 GB, free: 1.336 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.0002488/0.5645, allocations: 170.7 kB / 0.6104 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006386/0.5709, allocations: 2.19 MB / 0.6125 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/0.5709, allocations: 4 kB / 0.6125 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003543/0.5744, allocations: 1.065 MB / 0.6136 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5758, allocations: 135.9 kB / 0.6137 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.5802, allocations: 2.032 MB / 0.6157 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.5806, allocations: 325.8 kB / 0.616 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/0.5814, allocations: 83.42 kB / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5814, allocations: 0 / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of Templates: time 0.0245/0.6059, allocations: 14.52 MB / 0.6303 GB, free: 12.5 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/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: 8.725350634020288]