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.001555/0.001555, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00186/0.00186, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.483/1.483, allocations: 230.3 MB / 258 MB, free: 8.227 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.2379/0.2379, allocations: 46.93 MB / 361.4 MB, free: 4.48 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.002361/0.002361, allocations: 79.86 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4026, allocations: 66.04 MB / 0.5616 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004226/0.4069, allocations: 2.428 MB / 0.564 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.409, allocations: 0.9873 MB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.4091, allocations: 19.81 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.4096, allocations: 115.3 kB / 0.5651 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.4098, allocations: 99.33 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.4106, allocations: 291.5 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.4114, allocations: 0.7211 MB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.4116, allocations: 55.97 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.412, allocations: 303 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.4124, allocations: 346.6 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.4125, allocations: 60 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.4126, allocations: 60 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.4128, allocations: 195.5 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.4131, allocations: 238.7 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.4137, allocations: 0.5561 MB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4138, allocations: 7.984 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4138, allocations: 0 / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.4138, allocations: 0 / 0.5679 GB, free: 14.04 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.002396/0.4162, allocations: 0.8713 MB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4162, allocations: 8.031 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.4164, allocations: 80.53 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.417, allocations: 301.2 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.4174, allocations: 263.7 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4175, allocations: 44.38 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4195, allocations: 0.8087 MB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.4196, allocations: 7.938 kB / 0.5703 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.06e-05/0.4196, allocations: 19.94 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4197, allocations: 12 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.423, allocations: 1.196 MB / 0.5715 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.4265, allocations: 1.995 MB / 0.5734 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.4294, allocations: 0.786 MB / 0.5742 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.4308, allocations: 449.9 kB / 0.5746 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/0.4309, allocations: 7.984 kB / 0.5746 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.431, allocations: 46.5 kB / 0.5747 GB, free: 6.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.926e-06/0.431, allocations: 0 / 0.5747 GB, free: 6.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08521/0.5162, allocations: 15.48 MB / 0.5898 GB, free: 7.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.5163, allocations: 90.11 kB / 0.5899 GB, free: 7.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.5168, allocations: 389.5 kB / 0.5902 GB, free: 6.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.5169, allocations: 45.7 kB / 0.5903 GB, free: 6.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.5171, allocations: 229.5 kB / 0.5905 GB, free: 6.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.5176, allocations: 412.5 kB / 0.5909 GB, free: 6.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.5181, allocations: 202.9 kB / 0.5911 GB, free: 5.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5183, allocations: 370.8 kB / 0.5914 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003571/0.5219, allocations: 1.345 MB / 0.5927 GB, free: 4.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/0.5255, allocations: 1.497 MB / 0.5942 GB, free: 2.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006357/0.5319, allocations: 2.439 MB / 0.5966 GB, free: 212 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5319, allocations: 0 / 0.5966 GB, free: 212 kB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007408/0.5393, allocations: 2.828 MB / 0.5993 GB, free: 13.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.5393, allocations: 8 kB / 0.5994 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.5393, allocations: 4 kB / 0.5994 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.5394, allocations: 8 kB / 0.5994 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.5421, allocations: 407.5 kB / 0.5998 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.5421, allocations: 19.86 kB / 0.5998 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.5441, allocations: 215.7 kB / 0.6 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5442, allocations: 47.92 kB / 0.6 GB, free: 12.67 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.0005309/0.5448, allocations: 231.6 kB / 0.6002 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.545, allocations: 63.62 kB / 0.6003 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.5453, allocations: 112.7 kB / 0.6004 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.5453, allocations: 12 kB / 0.6004 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.5453, allocations: 7.875 kB / 0.6004 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5453, allocations: 7.969 kB / 0.6004 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5571, allocations: 5.2 MB / 0.6055 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.5571, allocations: 20 kB / 0.6055 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.5586, allocations: 355.9 kB / 0.6059 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-05/0.5586, allocations: 28 kB / 0.6059 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.384e-05/0.5587, allocations: 48 kB / 0.606 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.824e-05/0.5587, allocations: 35.86 kB / 0.606 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.619e-05/0.5588, allocations: 35.81 kB / 0.606 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/0.5659, allocations: 3.106 MB / 0.6091 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.5663, allocations: 163.5 kB / 0.6092 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5664, allocations: 55.97 kB / 0.6093 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.5677, allocations: 187.8 kB / 0.6094 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.5681, allocations: 223.2 kB / 0.6097 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-05/0.5682, allocations: 56 kB / 0.6097 GB, free: 2.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.5686, allocations: 263.2 kB / 0.61 GB, free: 1.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5686, allocations: 4 kB / 0.61 GB, free: 1.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000991/0.5696, allocations: 228 kB / 0.6102 GB, free: 1.625 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.0002315/0.5698, allocations: 166.8 kB / 0.6103 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006097/0.5759, allocations: 2.163 MB / 0.6125 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.5759, allocations: 4 kB / 0.6125 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003363/0.5793, allocations: 1.051 MB / 0.6135 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.5805, allocations: 146.9 kB / 0.6136 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.5847, allocations: 1.971 MB / 0.6155 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.5853, allocations: 0.9282 MB / 0.6165 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.5863, allocations: 206.1 kB / 0.6167 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.5869, allocations: 67.41 kB / 0.6167 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5869, allocations: 4 kB / 0.6167 GB, free: 10.59 MB / 462.1 MB Notification: Performance of Templates: time 0.02993/0.6168, allocations: 17.76 MB / 0.6341 GB, free: 8.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/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: 6.004645866341889]