Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.001638/0.001638, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002128/0.002128, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.589/1.589, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2434/0.2434, allocations: 46.9 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 179] 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed") [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.002395/0.002395, allocations: 75.88 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.38, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004085/0.3841, allocations: 2.664 MB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3855, allocations: 0.7323 MB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.3857, allocations: 11.94 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.3858, allocations: 43.52 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.386, allocations: 83.2 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.3863, allocations: 103.8 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3868, allocations: 334.5 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3869, allocations: 72.75 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.3872, allocations: 131.5 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.3874, allocations: 127.4 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3874, allocations: 27.94 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.3875, allocations: 31.94 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.3876, allocations: 59.81 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3877, allocations: 143.2 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.3881, allocations: 306.6 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3881, allocations: 0 / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3881, allocations: 4 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3881, allocations: 0 / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009853/0.3891, allocations: 0.5998 MB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3891, allocations: 8.031 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.3894, allocations: 52.73 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.3898, allocations: 275.8 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3898, allocations: 20.94 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.3899, allocations: 32.33 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.3904, allocations: 282.2 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3904, allocations: 3.953 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3904, allocations: 15.94 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3904, allocations: 4 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.3909, allocations: 179.8 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.3927, allocations: 1.318 MB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.3931, allocations: 234.5 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.3933, allocations: 99.31 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3933, allocations: 8 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3934, allocations: 38.56 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.3934, allocations: 0 / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002746/0.3961, allocations: 1.577 MB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.3962, allocations: 140.5 kB / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3964, allocations: 229 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3965, allocations: 33.64 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3966, allocations: 180.5 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3967, allocations: 122.9 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3968, allocations: 71.36 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.397, allocations: 338.8 kB / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3972, allocations: 100.8 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.3976, allocations: 241.4 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.3983, allocations: 369.5 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3983, allocations: 0 / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008208/0.3991, allocations: 401.2 kB / 0.5726 GB, free: 8.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3991, allocations: 8.406 kB / 0.5726 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3991, allocations: 8 kB / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3991, allocations: 8 kB / 0.5727 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.3995, allocations: 96.12 kB / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3995, allocations: 16.05 kB / 0.5728 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3998, allocations: 23.98 kB / 0.5728 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3998, allocations: 24 kB / 0.5728 GB, free: 8.426 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001568/0.4, allocations: 153.7 kB / 0.573 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4001, allocations: 35.75 kB / 0.573 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.4002, allocations: 37.7 kB / 0.573 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4002, allocations: 4 kB / 0.573 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4002, allocations: 0 / 0.573 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4002, allocations: 3.984 kB / 0.573 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.4018, allocations: 0.9778 MB / 0.574 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4018, allocations: 0 / 0.574 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.4022, allocations: 79.89 kB / 0.5741 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4022, allocations: 3.984 kB / 0.5741 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.4022, allocations: 16 kB / 0.5741 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4022, allocations: 4 kB / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4022, allocations: 0 / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4033, allocations: 0.7367 MB / 0.5748 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.274e-05/0.4034, allocations: 104.9 kB / 0.5749 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.4034, allocations: 15.94 kB / 0.5749 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.4037, allocations: 19.97 kB / 0.5749 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.4038, allocations: 31.97 kB / 0.575 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4038, allocations: 8 kB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.404, allocations: 156.5 kB / 0.5751 GB, free: 5.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.404, allocations: 0 / 0.5751 GB, free: 5.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.4045, allocations: 75.94 kB / 0.5752 GB, free: 5.855 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001115/0.4046, allocations: 95.25 kB / 0.5753 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.4052, allocations: 271.8 kB / 0.5756 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4052, allocations: 0.8125 kB / 0.5756 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.4055, allocations: 120.3 kB / 0.5757 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.4063, allocations: 50.98 kB / 0.5757 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.4078, allocations: 0.8824 MB / 0.5766 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.4082, allocations: 0.7681 MB / 0.5773 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.4083, allocations: 38.94 kB / 0.5774 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.4084, allocations: 23.44 kB / 0.5774 GB, free: 3.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4084, allocations: 0.5625 kB / 0.5774 GB, free: 3.539 MB / 414.1 MB Notification: Performance of Templates: time 0.006601/0.415, allocations: 2.582 MB / 0.5799 GB, free: 0.9727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.294735735282302]