Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.002027/0.002027, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002671/0.002671, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.498/1.498, allocations: 230.3 MB / 258 MB, free: 8.156 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.237/0.237, allocations: 46.93 MB / 361.4 MB, free: 4.371 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.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35") [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.002591/0.002591, allocations: 83.84 kB / 0.4972 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4098, allocations: 66.04 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003335/0.4132, allocations: 1.617 MB / 0.5632 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.4153, allocations: 1.274 MB / 0.5645 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.4154, allocations: 0 / 0.5645 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.4156, allocations: 27.84 kB / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.4159, allocations: 87.62 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.4163, allocations: 115.6 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.4164, allocations: 71.77 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4165, allocations: 10.81 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.4166, allocations: 27.91 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.4168, allocations: 27.86 kB / 0.5648 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4168, allocations: 4 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.417, allocations: 103.9 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.4171, allocations: 19.92 kB / 0.565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.4171, allocations: 23.86 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.4174, allocations: 139.2 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4174, allocations: 0 / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4174, allocations: 0 / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4174, allocations: 3.938 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005849/0.418, allocations: 333.7 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.418, allocations: 11.97 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.4181, allocations: 8.891 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.4183, allocations: 130.4 kB / 0.5656 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4183, allocations: 4.375 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.4183, allocations: 384 / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4185, allocations: 63.95 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4185, allocations: 4.125 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4185, allocations: 7.938 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4185, allocations: 0 / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.4186, allocations: 23.97 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.4191, allocations: 256 kB / 0.5659 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.4193, allocations: 50.42 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.4194, allocations: 16.86 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4194, allocations: 4.078 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.4194, allocations: 38.56 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4194, allocations: 0 / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006184/0.42, allocations: 149.4 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.4201, allocations: 77.11 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4203, allocations: 144.3 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4203, allocations: 25.7 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.4203, allocations: 100.1 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.4204, allocations: 23.8 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.4204, allocations: 13.72 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4206, allocations: 322.8 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.4206, allocations: 19.98 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.4207, allocations: 37.7 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.4208, allocations: 56.84 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4208, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001926/0.421, allocations: 93.69 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4211, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4211, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4211, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.4211, allocations: 11.98 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4211, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.4212, allocations: 11.92 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4212, allocations: 8 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 9.953e-05/0.4213, allocations: 117.8 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.4213, allocations: 7.953 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.4216, allocations: 97.98 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4216, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4216, allocations: 4 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4216, allocations: 4 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.4221, allocations: 329.5 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4221, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.4221, allocations: 11.94 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4222, allocations: 3.984 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.4222, allocations: 4 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4222, allocations: 0 / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4222, allocations: 7.938 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.4224, allocations: 183.8 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.4224, allocations: 3.953 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4224, allocations: 4.25 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.4225, allocations: 7.984 kB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.4226, allocations: 15.92 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.4226, allocations: 4 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.4227, allocations: 117.4 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4227, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00028/0.423, allocations: 35.88 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.001709/0.4247, allocations: 0.4924 MB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.4249, allocations: 47.95 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4249, allocations: 0 / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.425, allocations: 31.98 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.4254, allocations: 15.98 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.4258, allocations: 177.4 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4262, allocations: 0.6885 MB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.4263, allocations: 27.75 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.4263, allocations: 15.42 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4263, allocations: 0 / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004977/0.4313, allocations: 1.779 MB / 0.5712 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.242025211453438]