Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008099/0.0008099, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009242/0.0009242, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8909/0.8909, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.243/0.243, allocations: 32.8 MB / 293.5 MB, free: 1.211 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.435e-05, allocations: 8.328 kB / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002194/0.002218, allocations: 1.708 MB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003377, allocations: 0.9742 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.003451, allocations: 3.938 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.003764, allocations: 87.62 kB / 442.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.004065, allocations: 123.4 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.004243, allocations: 71.67 kB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.004406, allocations: 123.5 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.004497, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.004582, allocations: 63.86 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.004674, allocations: 59.81 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.004689, allocations: 4 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.153e-05/0.00477, allocations: 47.86 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.004824, allocations: 31.91 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.004861, allocations: 19.92 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005049, allocations: 127.5 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005051, allocations: 0 / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005052, allocations: 0 / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005057, allocations: 0 / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004472/0.005504, allocations: 349.5 kB / 443.4 MB, free: 324 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.005542, allocations: 8.031 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.005572, allocations: 34.69 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.005602, allocations: 16.84 kB / 443.5 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.00578, allocations: 161.5 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.005792, allocations: 384 / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005809, allocations: 8.312 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1925/0.1983, allocations: 54.25 kB / 443.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.1984, allocations: 3.375 kB / 443.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.1984, allocations: 3.094 kB / 443.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1984, allocations: 4.062 kB / 443.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1986, allocations: 19.78 kB / 443.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1989, allocations: 254.7 kB / 444 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1991, allocations: 62.84 kB / 444.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1991, allocations: 17.05 kB / 444.1 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.1991, allocations: 6.812 kB / 444.1 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.1993, allocations: 67.7 kB / 444.2 MB, free: 45.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.195e-06/0.1993, allocations: 2.781 kB / 444.2 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004809/0.1997, allocations: 186.1 kB / 444.3 MB, free: 45.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1998, allocations: 54.47 kB / 444.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1999, allocations: 227.1 kB / 444.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.1999, allocations: 29.08 kB / 444.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.1999, allocations: 107.2 kB / 444.7 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.2, allocations: 30.56 kB / 444.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2, allocations: 25.09 kB / 444.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.2, allocations: 330 kB / 445.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.2001, allocations: 23.64 kB / 445.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.2001, allocations: 42.31 kB / 445.2 MB, free: 45.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.2002, allocations: 56.06 kB / 445.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2002, allocations: 0 / 445.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001163/0.2003, allocations: 112.1 kB / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2003, allocations: 5.562 kB / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2003, allocations: 0 / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2003, allocations: 0 / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.2004, allocations: 17.89 kB / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2004, allocations: 6.734 kB / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.2004, allocations: 6.219 kB / 445.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2004, allocations: 10.09 kB / 445.4 MB, free: 45.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.986e-05/0.2005, allocations: 126.7 kB / 445.5 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.2005, allocations: 17.33 kB / 445.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.2007, allocations: 121.6 kB / 445.7 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2007, allocations: 2.812 kB / 445.7 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2007, allocations: 0 / 445.7 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2007, allocations: 3.594 kB / 445.7 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.201, allocations: 379.1 kB / 446 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.201, allocations: 0 / 446 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.201, allocations: 12.09 kB / 446 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.201, allocations: 3.594 kB / 446.1 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2011, allocations: 5.719 kB / 446.1 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.2011, allocations: 8.344 kB / 446.1 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2011, allocations: 0 / 446.1 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2012, allocations: 215.4 kB / 446.3 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.2012, allocations: 10.75 kB / 446.3 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2012, allocations: 8.219 kB / 446.3 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.2012, allocations: 10.5 kB / 446.3 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2013, allocations: 9.609 kB / 446.3 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2013, allocations: 3.125 kB / 446.3 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.2015, allocations: 172.1 kB / 446.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2015, allocations: 0 / 446.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.2017, allocations: 27.59 kB / 446.5 MB, free: 44.46 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001322/0.203, allocations: 1.144 MB / 447.7 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.2032, allocations: 61.03 kB / 447.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2032, allocations: 4.562 kB / 447.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.2033, allocations: 30.09 kB / 447.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.2035, allocations: 31.41 kB / 447.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2048, allocations: 1.729 MB / 449.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.2049, allocations: 104.3 kB / 449.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.643e-05/0.205, allocations: 19.47 kB / 449.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.205, allocations: 40.45 kB / 449.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.205, allocations: 2.531 kB / 449.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.2238, allocations: 4.391 MB / 454.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/6.768, allocations: 9.078 kB / 454.1 MB, free: 40.99 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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: 8.750428932718933]