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.001315/0.001315, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00153/0.00153, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.463/1.463, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.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.2384/0.2384, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.002345/0.002345, allocations: 83.86 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3775, allocations: 66.03 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003937/0.3814, allocations: 2.441 MB / 0.5639 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3832, allocations: 0.9796 MB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3833, allocations: 23.75 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.3837, allocations: 119.2 kB / 0.565 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3839, allocations: 95.39 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.3846, allocations: 299.5 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000788/0.3853, allocations: 0.7211 MB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3855, allocations: 48.05 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.3858, allocations: 307 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.3863, allocations: 346.7 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3864, allocations: 60 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.3865, allocations: 60 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.3867, allocations: 195.4 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.3869, allocations: 242.7 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.3875, allocations: 0.5561 MB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3875, allocations: 0 / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3875, allocations: 0 / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3875, allocations: 0 / 0.5678 GB, free: 14.14 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.002339/0.3899, allocations: 0.8791 MB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3899, allocations: 8.031 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.39, allocations: 72.61 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.3906, allocations: 309.1 kB / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.391, allocations: 263.7 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3911, allocations: 44.38 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.3934, allocations: 0.8125 MB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3934, allocations: 0 / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.3935, allocations: 20 kB / 0.5702 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3935, allocations: 12 kB / 0.5702 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.3973, allocations: 1.196 MB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.4004, allocations: 1.999 MB / 0.5733 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.4037, allocations: 0.7841 MB / 0.5741 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.4053, allocations: 453.3 kB / 0.5745 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.4054, allocations: 4 kB / 0.5745 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4054, allocations: 50.5 kB / 0.5745 GB, free: 7.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.304e-06/0.4054, allocations: 0 / 0.5745 GB, free: 7.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09136/0.4968, allocations: 15.48 MB / 0.5897 GB, free: 7.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.4969, allocations: 90.11 kB / 0.5897 GB, free: 7.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.4974, allocations: 385.5 kB / 0.5901 GB, free: 6.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.4976, allocations: 45.7 kB / 0.5901 GB, free: 6.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.4979, allocations: 237.5 kB / 0.5904 GB, free: 6.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/0.4984, allocations: 408.5 kB / 0.5908 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000575/0.499, allocations: 202.8 kB / 0.591 GB, free: 6.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.4992, allocations: 370.8 kB / 0.5913 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.5031, allocations: 1.345 MB / 0.5926 GB, free: 4.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004046/0.5072, allocations: 1.497 MB / 0.5941 GB, free: 2.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007223/0.5144, allocations: 2.443 MB / 0.5965 GB, free: 316 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5144, allocations: 0 / 0.5965 GB, free: 316 kB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008526/0.5229, allocations: 2.831 MB / 0.5992 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.523, allocations: 4 kB / 0.5992 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.523, allocations: 4 kB / 0.5992 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.523, allocations: 8 kB / 0.5993 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/0.5257, allocations: 407.6 kB / 0.5996 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.5258, allocations: 15.92 kB / 0.5997 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.5278, allocations: 215.7 kB / 0.5999 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.5279, allocations: 43.98 kB / 0.5999 GB, free: 12.78 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.000552/0.5285, allocations: 234.8 kB / 0.6001 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.5287, allocations: 63.62 kB / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.529, allocations: 108.7 kB / 0.6003 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.529, allocations: 16 kB / 0.6003 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.5291, allocations: 3.938 kB / 0.6003 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.5291, allocations: 3.984 kB / 0.6003 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.5419, allocations: 5.197 MB / 0.6054 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/0.5419, allocations: 23.94 kB / 0.6054 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.5435, allocations: 356.3 kB / 0.6058 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.911e-05/0.5436, allocations: 31.94 kB / 0.6058 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.861e-05/0.5437, allocations: 44 kB / 0.6058 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-05/0.5437, allocations: 47.78 kB / 0.6059 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-05/0.5437, allocations: 31.88 kB / 0.6059 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/0.5519, allocations: 3.099 MB / 0.6089 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.5524, allocations: 167.5 kB / 0.6091 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.5525, allocations: 47.98 kB / 0.6091 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5539, allocations: 187.8 kB / 0.6093 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/0.5544, allocations: 223.2 kB / 0.6095 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.5545, allocations: 60 kB / 0.6096 GB, free: 2.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003529/0.5548, allocations: 267.1 kB / 0.6098 GB, free: 1.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5548, allocations: 0 / 0.6098 GB, free: 1.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001053/0.5559, allocations: 228 kB / 0.6101 GB, free: 1.734 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.0002617/0.5561, allocations: 166.7 kB / 0.6102 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007022/0.5632, allocations: 2.159 MB / 0.6123 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/0.5632, allocations: 0 / 0.6123 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003879/0.5671, allocations: 1.054 MB / 0.6134 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.5687, allocations: 143.6 kB / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.5737, allocations: 1.975 MB / 0.6154 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.5746, allocations: 0.9321 MB / 0.6163 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001229/0.5759, allocations: 210 kB / 0.6165 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.5765, allocations: 67.42 kB / 0.6166 GB, free: 10.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.185e-06/0.5765, allocations: 4 kB / 0.6166 GB, free: 10.69 MB / 462.1 MB Notification: Performance of Templates: time 0.03577/0.6123, allocations: 17.77 MB / 0.634 GB, free: 8.938 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.934287611395121]