Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008539/0.0008539, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008991/0.0008991, allocations: 156.9 kB / 23.94 MB, free: 0.6133 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.8943/0.8943, allocations: 177 MB / 204.1 MB, free: 5.699 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.2283/0.2283, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.2 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.944e-05, allocations: 2.281 kB / 442.2 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.154/0.154, allocations: 1.672 MB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.155, allocations: 0.9538 MB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.155, allocations: 3.25 kB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1553, allocations: 63.42 kB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.1555, allocations: 110.2 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.1556, allocations: 80.33 kB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1558, allocations: 105 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1558, allocations: 10.34 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.1559, allocations: 57.95 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.156, allocations: 47.27 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.156, allocations: 2.75 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.156, allocations: 29.78 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1561, allocations: 16.53 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.1561, allocations: 21.98 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1563, allocations: 106.4 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1563, allocations: 3.875 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1563, allocations: 0 / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1563, allocations: 0 / 445.5 MB, free: 42.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003565/0.1566, allocations: 340.4 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1567, allocations: 11.56 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.007e-05/0.1567, allocations: 35.12 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.1567, allocations: 14.19 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1569, allocations: 142.9 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1569, allocations: 3.75 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.1569, allocations: 4.312 kB / 446 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.157, allocations: 51.34 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.157, allocations: 192 / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.157, allocations: 4.125 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.157, allocations: 1.906 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.1571, allocations: 22.38 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.1572, allocations: 151.1 kB / 446.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.1573, allocations: 50.42 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.1573, allocations: 20.94 kB / 446.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1573, allocations: 0 / 446.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.1574, allocations: 68.56 kB / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.1574, allocations: 0 / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001719/0.1576, allocations: 110.7 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.1576, allocations: 58.34 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.1577, allocations: 200 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.1577, allocations: 25.7 kB / 446.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1577, allocations: 107.2 kB / 446.9 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1578, allocations: 14.73 kB / 446.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1578, allocations: 18.91 kB / 446.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.395e-05/0.1578, allocations: 327.5 kB / 447.2 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.1578, allocations: 14.97 kB / 447.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.1579, allocations: 36.8 kB / 447.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.1579, allocations: 41.52 kB / 447.3 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1579, allocations: 2.656 kB / 447.3 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.742e-05/0.158, allocations: 84.52 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.158, allocations: 5.375 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.158, allocations: 3.938 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.158, allocations: 2.594 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.1581, allocations: 15 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1581, allocations: 4.031 kB / 447.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.1581, allocations: 6.641 kB / 447.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1581, allocations: 9.188 kB / 447.5 MB, free: 41.33 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 (7): * Single equations (assignments): 7 * 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 4.495e-05/0.1582, allocations: 123.3 kB / 447.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.1582, allocations: 9.422 kB / 447.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.1583, allocations: 101.3 kB / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1583, allocations: 0 / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1583, allocations: 0.8438 kB / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1583, allocations: 3.375 kB / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.268e-05/0.1584, allocations: 159 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1584, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.1584, allocations: 6.172 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1584, allocations: 2.938 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1584, allocations: 3.938 kB / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1584, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1584, allocations: 0 / 447.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.1585, allocations: 123.5 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.1585, allocations: 9.703 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1585, allocations: 10.88 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.1585, allocations: 3.062 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.1585, allocations: 7.047 kB / 448 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1586, allocations: 2.875 kB / 448 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.1586, allocations: 154.6 kB / 448.2 MB, free: 40.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1586, allocations: 3.938 kB / 448.2 MB, free: 40.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.1587, allocations: 17.88 kB / 448.2 MB, free: 40.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007434/0.1595, allocations: 0.9807 MB / 449.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1596, allocations: 47.77 kB / 449.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1596, allocations: 4.062 kB / 449.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.1596, allocations: 22.14 kB / 449.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.1598, allocations: 25.69 kB / 449.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.1606, allocations: 1.518 MB / 450.8 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.1606, allocations: 94.31 kB / 450.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.615e-05/0.1607, allocations: 18.2 kB / 450.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1607, allocations: 37.66 kB / 450.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of SimCode: time 4.5e-07/0.1607, allocations: 0 / 450.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.1746, allocations: 3.968 MB / 454.9 MB, free: 37.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.922, allocations: 4 kB / 454.9 MB, free: 37.43 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.847774306312203]