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.001241/0.001241, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001458/0.001458, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.582/1.582, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2366/0.2366, allocations: 46.9 MB / 361.1 MB, free: 4.621 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.002471/0.002471, allocations: 75.88 kB / 0.4967 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3806, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00374/0.3843, allocations: 2.446 MB / 0.5636 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3861, allocations: 0.9796 MB / 0.5645 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.3862, allocations: 7.938 kB / 0.5645 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.3866, allocations: 119.2 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3868, allocations: 99.33 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.3876, allocations: 291.5 kB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.3886, allocations: 0.7171 MB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.3888, allocations: 51.73 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.3891, allocations: 303 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.3896, allocations: 342.6 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.159e-05/0.3897, allocations: 60 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.3898, allocations: 60 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.39, allocations: 203.4 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.3902, allocations: 238.7 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.3908, allocations: 0.5564 MB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3908, allocations: 4 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3908, allocations: 0 / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3908, allocations: 0 / 0.5675 GB, free: 14.55 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.002384/0.3932, allocations: 0.9466 MB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3932, allocations: 12.02 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3934, allocations: 64.61 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.394, allocations: 383.3 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.3944, allocations: 263.7 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.3945, allocations: 44.38 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.3966, allocations: 0.8048 MB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3966, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.3967, allocations: 20 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3967, allocations: 12 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/0.4004, allocations: 1.205 MB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.4035, allocations: 2.02 MB / 0.5731 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.4066, allocations: 0.7801 MB / 0.5739 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4081, allocations: 454.4 kB / 0.5743 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.4082, allocations: 19.97 kB / 0.5743 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.4082, allocations: 46.44 kB / 0.5744 GB, free: 7.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.505e-06/0.4083, allocations: 0 / 0.5744 GB, free: 7.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08957/0.4978, allocations: 15.77 MB / 0.5898 GB, free: 7.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.4979, allocations: 94.17 kB / 0.5898 GB, free: 7.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.4984, allocations: 393.4 kB / 0.5902 GB, free: 6.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.4986, allocations: 49.69 kB / 0.5903 GB, free: 6.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.4988, allocations: 229.5 kB / 0.5905 GB, free: 6.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.4992, allocations: 412.4 kB / 0.5909 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.4997, allocations: 202.9 kB / 0.5911 GB, free: 5.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4999, allocations: 370.8 kB / 0.5914 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/0.5037, allocations: 1.345 MB / 0.5927 GB, free: 4.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.5076, allocations: 1.49 MB / 0.5942 GB, free: 2.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006892/0.5145, allocations: 2.445 MB / 0.5966 GB, free: 132 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5145, allocations: 0 / 0.5966 GB, free: 132 kB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007947/0.5224, allocations: 2.834 MB / 0.5993 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5225, allocations: 8 kB / 0.5994 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5225, allocations: 7.984 kB / 0.5994 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.5225, allocations: 8 kB / 0.5994 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.5253, allocations: 407.6 kB / 0.5998 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.5253, allocations: 11.94 kB / 0.5998 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.5273, allocations: 215.7 kB / 0.6 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.5274, allocations: 43.98 kB / 0.6 GB, free: 12.6 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.000534/0.528, allocations: 230.9 kB / 0.6002 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.5282, allocations: 63.62 kB / 0.6003 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.5285, allocations: 108.7 kB / 0.6004 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5285, allocations: 12 kB / 0.6004 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5285, allocations: 3.938 kB / 0.6004 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.5285, allocations: 7.969 kB / 0.6004 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.5406, allocations: 5.235 MB / 0.6055 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/0.5407, allocations: 23.98 kB / 0.6056 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.5423, allocations: 360.3 kB / 0.6059 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.762e-05/0.5423, allocations: 28 kB / 0.6059 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.5424, allocations: 44 kB / 0.606 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.52e-05/0.5424, allocations: 39.86 kB / 0.606 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.359e-05/0.5424, allocations: 35.88 kB / 0.606 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007772/0.5502, allocations: 3.102 MB / 0.6091 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.5507, allocations: 240.6 kB / 0.6093 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5508, allocations: 47.98 kB / 0.6093 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.5522, allocations: 191.8 kB / 0.6095 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/0.5527, allocations: 227.2 kB / 0.6097 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/0.5528, allocations: 56 kB / 0.6098 GB, free: 1.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.5531, allocations: 267.1 kB / 0.6101 GB, free: 1.641 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5531, allocations: 0 / 0.6101 GB, free: 1.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009931/0.5541, allocations: 228 kB / 0.6103 GB, free: 1.418 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.0002492/0.5543, allocations: 174.7 kB / 0.6104 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006574/0.5609, allocations: 2.16 MB / 0.6125 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/0.5609, allocations: 7.938 kB / 0.6126 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003541/0.5645, allocations: 1.047 MB / 0.6136 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5658, allocations: 148.3 kB / 0.6137 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.57, allocations: 1.971 MB / 0.6156 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.5706, allocations: 0.9243 MB / 0.6165 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009902/0.5716, allocations: 206.1 kB / 0.6167 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.5722, allocations: 71.42 kB / 0.6168 GB, free: 10.37 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5722, allocations: 0 / 0.6168 GB, free: 10.37 MB / 462.1 MB Notification: Performance of Templates: time 0.02974/0.6019, allocations: 17.45 MB / 0.6339 GB, free: 8.926 MB / 478.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 -s cvode -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: 5.9889883399009705]