Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001394/0.001394, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001078/0.001078, allocations: 157.3 kB / 24.99 MB, free: 8.797 MB / 18.57 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 0.9555/0.9555, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3014/0.3014, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.456e-05, allocations: 4.422 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002314/0.002339, allocations: 1.709 MB / 380.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.003146, allocations: 0.5757 MB / 381.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.003227, allocations: 0 / 381.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.00373, allocations: 467 kB / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.004138, allocations: 291.2 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.004501, allocations: 175.5 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.004732, allocations: 179.6 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004833, allocations: 16.22 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004954, allocations: 123.7 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.005157, allocations: 243.6 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.005173, allocations: 4 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.005268, allocations: 55.92 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.005354, allocations: 79.72 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.005402, allocations: 47.72 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.005638, allocations: 215 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00564, allocations: 0 / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005641, allocations: 0 / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005646, allocations: 0 / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005851/0.006232, allocations: 0.7048 MB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.006268, allocations: 8.031 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.006328, allocations: 44.66 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.006522, allocations: 252.8 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.006533, allocations: 4.375 kB / 383.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.006556, allocations: 12.31 kB / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.006677, allocations: 66.88 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006688, allocations: 192 / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.006698, allocations: 4.375 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.006706, allocations: 384 / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.006742, allocations: 15.92 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.007157, allocations: 439.6 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.007225, allocations: 39.05 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.007247, allocations: 15.69 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.007268, allocations: 7.938 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.007289, allocations: 37.42 kB / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00729, allocations: 0 / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000581/0.007871, allocations: 256.6 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.007901, allocations: 59.39 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.008313, allocations: 0.6316 MB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.008325, allocations: 25.7 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.008464, allocations: 290.8 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.008739, allocations: 31.73 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.008773, allocations: 23.38 kB / 385.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.008915, allocations: 0.5547 MB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.00894, allocations: 8 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.008961, allocations: 15.98 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.315e-05/0.009014, allocations: 35.62 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.009015, allocations: 0 / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001105/0.009126, allocations: 101.4 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.00914, allocations: 8 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.009144, allocations: 0 / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.009156, allocations: 4 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.009232, allocations: 19.98 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.009237, allocations: 0 / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.009265, allocations: 4 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.009271, allocations: 0 / 386.6 MB, free: 10.28 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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 7.692e-05/0.009348, allocations: 172.4 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.009386, allocations: 47.67 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.009546, allocations: 117.8 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009549, allocations: 7.922 kB / 386.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.009553, allocations: 8 kB / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.009556, allocations: 0 / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.009956, allocations: 0.5009 MB / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.009958, allocations: 0 / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.01, allocations: 15.98 kB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01, allocations: 0 / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01001, allocations: 8 kB / 387.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01002, allocations: 3.938 kB / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01002, allocations: 0 / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01017, allocations: 279.2 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01019, allocations: 31.72 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.01021, allocations: 4 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.01026, allocations: 4 kB / 387.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.01029, allocations: 11.92 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.0103, allocations: 4 kB / 387.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.01055, allocations: 426.8 kB / 388.2 MB, free: 8.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01055, allocations: 0 / 388.2 MB, free: 8.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01075, allocations: 28 kB / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009623/0.01171, allocations: 433.6 kB / 388.7 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.01183, allocations: 43.66 kB / 388.7 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01183, allocations: 0 / 388.7 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.01187, allocations: 27.77 kB / 388.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.01223, allocations: 30.11 kB / 388.8 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.01307, allocations: 0.6157 MB / 389.4 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01317, allocations: 123.2 kB / 389.5 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.01323, allocations: 20.72 kB / 389.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.01327, allocations: 12.5 kB / 389.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01327, allocations: 3.938 kB / 389.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of Templates: time 0.004764/0.01803, allocations: 1.65 MB / 391.2 MB, free: 5.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.224448886932805]