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.005877/0.005877, allocations: 105.6 kB / 21.98 MB, free: 5.219 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.001563/0.001563, allocations: 216.5 kB / 25.29 MB, free: 3.215 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.415/1.415, allocations: 230.5 MB / 258.9 MB, free: 8.039 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.2322/0.2322, allocations: 46.93 MB / 362.3 MB, free: 4.305 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.002403/0.002403, allocations: 79.86 kB / 0.4982 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3688, allocations: 66.07 MB / 0.5627 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003989/0.3728, allocations: 2.435 MB / 0.5651 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3749, allocations: 0.9835 MB / 0.5661 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.375, allocations: 15.81 kB / 0.5661 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.3755, allocations: 131.2 kB / 0.5662 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3757, allocations: 87.34 kB / 0.5663 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.3764, allocations: 291.5 kB / 0.5666 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.3772, allocations: 0.7249 MB / 0.5673 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3774, allocations: 52.91 kB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.3778, allocations: 307 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.3782, allocations: 338.8 kB / 0.5679 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3783, allocations: 63.94 kB / 0.568 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.3784, allocations: 64 kB / 0.5681 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.3786, allocations: 199.4 kB / 0.5682 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.3788, allocations: 242.7 kB / 0.5685 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.3795, allocations: 0.5474 MB / 0.569 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3795, allocations: 3.938 kB / 0.569 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3795, allocations: 0 / 0.569 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3795, allocations: 0 / 0.569 GB, free: 13.81 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.002345/0.3818, allocations: 0.8792 MB / 0.5699 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3819, allocations: 12.03 kB / 0.5699 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.382, allocations: 64.61 kB / 0.57 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.3827, allocations: 313.1 kB / 0.5702 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.3831, allocations: 263.7 kB / 0.5705 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3832, allocations: 44.31 kB / 0.5705 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.3852, allocations: 0.8048 MB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.3852, allocations: 4 kB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.3853, allocations: 23.98 kB / 0.5714 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3853, allocations: 8 kB / 0.5714 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.3886, allocations: 1.196 MB / 0.5725 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.3918, allocations: 1.999 MB / 0.5745 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.3947, allocations: 0.7777 MB / 0.5752 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3961, allocations: 453.9 kB / 0.5757 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.548e-05/0.3962, allocations: 11.98 kB / 0.5757 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3962, allocations: 46.44 kB / 0.5757 GB, free: 6.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.736e-06/0.3962, allocations: 4 kB / 0.5757 GB, free: 6.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08678/0.483, allocations: 15.47 MB / 0.5908 GB, free: 7.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.4831, allocations: 90.11 kB / 0.5909 GB, free: 7.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.4836, allocations: 389.5 kB / 0.5913 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.4838, allocations: 49.64 kB / 0.5913 GB, free: 6.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4839, allocations: 233.5 kB / 0.5916 GB, free: 6.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.4844, allocations: 412.5 kB / 0.592 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005492/0.4849, allocations: 202.8 kB / 0.5922 GB, free: 5.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4851, allocations: 370.8 kB / 0.5925 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/0.4886, allocations: 1.349 MB / 0.5938 GB, free: 4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.4922, allocations: 1.486 MB / 0.5953 GB, free: 2.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006342/0.4985, allocations: 2.447 MB / 0.5977 GB, free: 15.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4985, allocations: 0 / 0.5977 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007634/0.5062, allocations: 2.831 MB / 0.6004 GB, free: 13.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.5062, allocations: 8 kB / 0.6004 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5062, allocations: 3.984 kB / 0.6004 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.5063, allocations: 12 kB / 0.6005 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.509, allocations: 415.5 kB / 0.6008 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/0.509, allocations: 11.94 kB / 0.6009 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.5109, allocations: 219.7 kB / 0.6011 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.511, allocations: 39.98 kB / 0.6011 GB, free: 12.44 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.0005579/0.5116, allocations: 239.6 kB / 0.6013 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.5118, allocations: 59.62 kB / 0.6014 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.5121, allocations: 116.7 kB / 0.6015 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.5121, allocations: 12 kB / 0.6015 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.5121, allocations: 3.938 kB / 0.6015 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5121, allocations: 3.984 kB / 0.6015 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.5241, allocations: 5.201 MB / 0.6066 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.5242, allocations: 20 kB / 0.6066 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.5256, allocations: 359.3 kB / 0.607 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.521e-05/0.5257, allocations: 28 kB / 0.607 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.5258, allocations: 51.98 kB / 0.607 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-05/0.5258, allocations: 43.86 kB / 0.6071 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.246e-05/0.5258, allocations: 31.88 kB / 0.6071 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/0.5329, allocations: 3.095 MB / 0.6101 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/0.5334, allocations: 163.5 kB / 0.6103 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.5336, allocations: 51.98 kB / 0.6103 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.5348, allocations: 191.8 kB / 0.6105 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/0.5352, allocations: 227.1 kB / 0.6107 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-05/0.5353, allocations: 56 kB / 0.6108 GB, free: 1.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003268/0.5356, allocations: 263.1 kB / 0.611 GB, free: 1.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5356, allocations: 0 / 0.611 GB, free: 1.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009828/0.5366, allocations: 232 kB / 0.6113 GB, free: 1.387 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.0002462/0.5369, allocations: 162.8 kB / 0.6114 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00603/0.5429, allocations: 2.155 MB / 0.6135 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/0.5429, allocations: 4 kB / 0.6135 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003526/0.5465, allocations: 1.047 MB / 0.6146 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.001484/0.5479, allocations: 153.1 kB / 0.6147 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.5522, allocations: 2.028 MB / 0.6167 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.5528, allocations: 0.9204 MB / 0.6176 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/0.5536, allocations: 83.42 kB / 0.6177 GB, free: 10.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5536, allocations: 0 / 0.6177 GB, free: 10.5 MB / 462.1 MB Notification: Performance of Templates: time 0.02467/0.5783, allocations: 14.32 MB / 0.6316 GB, free: 12.2 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/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-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: 8.639575093984604]