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.001558/0.001558, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001674/0.001674, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.398/1.398, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2168/0.2168, allocations: 46.9 MB / 361.1 MB, free: 4.695 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.002292/0.002292, allocations: 83.86 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2869, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003685/0.2906, allocations: 2.436 MB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2923, allocations: 0.9873 MB / 0.5645 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.2925, allocations: 11.88 kB / 0.5645 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.2928, allocations: 127.2 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.293, allocations: 91.39 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.2937, allocations: 287.5 kB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.2945, allocations: 0.7171 MB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2946, allocations: 51.73 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.295, allocations: 299 kB / 0.5661 GB, free: 4 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.2954, allocations: 342.8 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/0.2955, allocations: 64 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.2956, allocations: 60 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.2958, allocations: 199.4 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.2961, allocations: 234.7 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.2967, allocations: 0.5603 MB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2967, allocations: 0 / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2967, allocations: 0 / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2967, 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.2991, allocations: 0.9543 MB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2991, allocations: 8.031 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2993, allocations: 64.61 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.2999, allocations: 379.4 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.3003, allocations: 271.6 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.917e-05/0.3004, allocations: 40.38 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.3026, allocations: 0.8125 MB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3026, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.3027, allocations: 23.92 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3027, allocations: 12 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/0.3064, allocations: 1.197 MB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.3095, allocations: 2.024 MB / 0.5731 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.3128, allocations: 0.7776 MB / 0.5739 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.3144, allocations: 454.4 kB / 0.5743 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.3145, allocations: 15.98 kB / 0.5743 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3145, allocations: 42.5 kB / 0.5744 GB, free: 7.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.585e-06/0.3145, allocations: 0 / 0.5744 GB, free: 7.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09276/0.4073, allocations: 15.78 MB / 0.5898 GB, free: 7.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.4073, allocations: 90.23 kB / 0.5899 GB, free: 7.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.4078, allocations: 393.4 kB / 0.5902 GB, free: 6.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.408, allocations: 49.7 kB / 0.5903 GB, free: 6.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4081, allocations: 225.5 kB / 0.5905 GB, free: 6.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.4086, allocations: 416.4 kB / 0.5909 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005587/0.4091, allocations: 198.9 kB / 0.5911 GB, free: 5.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4093, allocations: 374.7 kB / 0.5914 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/0.4132, allocations: 1.345 MB / 0.5927 GB, free: 4.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003951/0.4171, allocations: 1.493 MB / 0.5942 GB, free: 2.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007037/0.4241, allocations: 2.445 MB / 0.5966 GB, free: 132 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4241, allocations: 0 / 0.5966 GB, free: 132 kB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007922/0.4321, allocations: 2.83 MB / 0.5994 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4321, allocations: 7.984 kB / 0.5994 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4321, allocations: 4 kB / 0.5994 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.4321, allocations: 8 kB / 0.5994 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.4349, allocations: 407.6 kB / 0.5998 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.4349, allocations: 11.94 kB / 0.5998 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.4369, allocations: 219.6 kB / 0.6 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.437, 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.0004967/0.4375, allocations: 230.9 kB / 0.6002 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.4378, allocations: 63.62 kB / 0.6003 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.4381, allocations: 108.7 kB / 0.6004 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4381, allocations: 7.969 kB / 0.6004 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4381, allocations: 0 / 0.6004 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.4387, allocations: 324.4 kB / 0.6007 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.4389, allocations: 20 kB / 0.6007 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/0.4409, allocations: 215.7 kB / 0.601 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005694/0.4414, allocations: 176.9 kB / 0.6011 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009535/0.451, allocations: 2.943 MB / 0.604 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.012/0.463, allocations: 4.495 MB / 0.6084 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003668/0.4667, allocations: 1.277 MB / 0.6096 GB, free: 2.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.467, allocations: 263.1 kB / 0.6099 GB, free: 2.449 MB / 446.1 MB Notification: Performance of Backend: time 3.2e-07/0.467, allocations: 3.938 kB / 0.6099 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004878/0.4718, allocations: 1.614 MB / 0.6115 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of SimCode: time 0.002091/0.4739, allocations: 1.417 MB / 0.6128 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Templates: time 0.194/0.668, allocations: 28.63 MB / 0.6408 GB, free: 2.73 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 -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: 6.5530801769346]