Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1933/0.1933, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.048e-05, allocations: 2.281 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003037/0.003068, allocations: 1.607 MB / 441.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.0042, allocations: 0.522 MB / 442.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.004259, allocations: 0 / 442.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.004577, allocations: 111.6 kB / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.004898, allocations: 119.5 kB / 442.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.005168, allocations: 93.77 kB / 442.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005341, allocations: 91.73 kB / 442.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.005436, allocations: 15.92 kB / 442.7 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.005532, allocations: 59.81 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.005652, allocations: 59.86 kB / 442.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.005673, allocations: 4 kB / 442.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.00577, allocations: 47.92 kB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.005831, allocations: 27.91 kB / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.005864, allocations: 15.88 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.006071, allocations: 111.6 kB / 443 MB, free: 5.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006074, allocations: 4 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.006075, allocations: 0 / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.00608, allocations: 0 / 443 MB, free: 5.254 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005196/0.006599, allocations: 357.4 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.006635, allocations: 8.031 kB / 443.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.006684, allocations: 16.84 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.006892, allocations: 154.3 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.006904, allocations: 4.375 kB / 443.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.006927, allocations: 8.359 kB / 443.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.007075, allocations: 50.23 kB / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.007088, allocations: 8.188 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.007099, allocations: 4.125 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.007103, allocations: 0 / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.0072, allocations: 27.92 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.007562, allocations: 244.5 kB / 443.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.007675, allocations: 42.55 kB / 443.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.007724, allocations: 16.8 kB / 443.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.007748, allocations: 4 kB / 443.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.007779, allocations: 34.5 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.007781, allocations: 4 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008715/0.008652, allocations: 237.2 kB / 444.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.008696, allocations: 51.41 kB / 444.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.00895, allocations: 251.6 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.00897, allocations: 33.7 kB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.00904, allocations: 108.1 kB / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.009073, allocations: 31.73 kB / 444.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.009116, allocations: 17.72 kB / 444.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.009262, allocations: 334.7 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.00934, allocations: 23.98 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.009411, allocations: 28.03 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.009564, allocations: 60.83 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.009565, allocations: 4 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002186/0.009784, allocations: 105.5 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.009797, allocations: 4 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.009801, allocations: 3.938 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.009818, allocations: 4 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.009915, allocations: 15.98 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.00992, allocations: 0 / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.009969, allocations: 11.98 kB / 445.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.00998, allocations: 4 kB / 445.3 MB, free: 2.812 MB / 366.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 (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 0.0001118/0.01009, allocations: 134.4 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.01013, allocations: 19.91 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.01042, allocations: 115.4 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01043, allocations: 4 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.01043, allocations: 0 / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01043, allocations: 4 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.01093, allocations: 355 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01093, allocations: 432 / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.011, allocations: 19.98 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.011, allocations: 0 / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.01101, allocations: 0 / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.01102, allocations: 4 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01102, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.01128, allocations: 212.1 kB / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.01131, allocations: 15.89 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01133, allocations: 11.98 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.0114, allocations: 4.031 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.01144, allocations: 11.92 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01144, allocations: 4 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.01162, allocations: 187.2 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01162, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.01188, allocations: 23.94 kB / 446.4 MB, free: 1.633 MB / 366.1 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.00178/0.01366, allocations: 494.9 kB / 446.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.01388, allocations: 63.94 kB / 446.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01388, allocations: 0 / 446.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.01397, allocations: 31.92 kB / 446.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01429, allocations: 30.33 kB / 447 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.01489, allocations: 282.6 kB / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.015, allocations: 101.8 kB / 447.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.01506, allocations: 17.02 kB / 447.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.01509, allocations: 12.5 kB / 447.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01509, allocations: 4 kB / 447.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of Templates: time 0.1601/0.1752, allocations: 1.36 MB / 448.7 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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: 4.5150954015553]