Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001426/0.001426, allocations: 112 kB / 20.48 MB, free: 1.27 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.001519/0.001519, allocations: 209.8 kB / 23.77 MB, free: 4.445 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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.2359/0.2359, allocations: 46.95 MB / 360.8 MB, free: 3.883 MB / 286.1 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 75.88 kB / 0.4963 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3495, allocations: 66.09 MB / 0.5608 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003474/0.353, allocations: 1.702 MB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.3559, allocations: 1.672 MB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.3559, allocations: 3.938 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.3562, allocations: 31.77 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.3566, allocations: 103.6 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.3568, allocations: 75.67 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.357, allocations: 107.6 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3571, allocations: 17.81 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.3572, allocations: 51.73 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3573, allocations: 39.77 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3574, allocations: 8 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.3576, allocations: 103.9 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.3576, allocations: 19.92 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.3577, allocations: 27.86 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.358, allocations: 167.4 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.358, allocations: 0 / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.358, allocations: 0 / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.358, allocations: 0 / 0.5648 GB, free: 15.82 MB / 414.1 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.0005721/0.3586, allocations: 361.4 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3586, allocations: 12.03 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3587, allocations: 30.75 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.3587, allocations: 12.84 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.359, allocations: 150.9 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3591, allocations: 384 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.3591, allocations: 11.94 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3593, allocations: 97.08 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3593, allocations: 0 / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3593, allocations: 0 / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3593, allocations: 7.938 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.3594, allocations: 23.97 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.3598, allocations: 252 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.36, allocations: 58.67 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.36, allocations: 24.8 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.36, allocations: 0 / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3602, allocations: 71.38 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3602, allocations: 0 / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005926/0.3608, allocations: 185.3 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3608, allocations: 85.05 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.361, allocations: 170.4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.361, allocations: 25.7 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.3611, allocations: 100.1 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3611, allocations: 27.75 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.3612, allocations: 25.7 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3613, allocations: 322.8 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.3614, allocations: 20 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.3615, allocations: 76.19 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3616, allocations: 61.69 kB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3616, allocations: 0 / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002148/0.3618, allocations: 105.5 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3619, allocations: 4 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3619, allocations: 4 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3619, allocations: 0 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.362, allocations: 19.98 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.362, allocations: 0 / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.362, allocations: 7.969 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.362, allocations: 8.156 kB / 0.5671 GB, free: 13.27 MB / 414.1 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 0.000106/0.3621, allocations: 121.8 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3622, allocations: 11.95 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.3624, allocations: 122.3 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3625, allocations: 0 / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3625, allocations: 0 / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3625, allocations: 3.938 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.363, allocations: 366.4 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.363, allocations: 8.031 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.363, allocations: 15.92 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.363, allocations: 4.312 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.363, allocations: 4 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.363, allocations: 8 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.363, allocations: 0 / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3633, allocations: 212.3 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.3633, allocations: 11.94 kB / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3633, allocations: 7.938 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.3634, allocations: 4 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.3635, allocations: 11.92 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3635, allocations: 4.375 kB / 0.568 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3636, allocations: 135.9 kB / 0.5681 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3636, allocations: 0 / 0.5681 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3639, allocations: 51.81 kB / 0.5682 GB, free: 12.1 MB / 414.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: 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.002692/0.3666, allocations: 1.222 MB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3668, allocations: 63.91 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3668, allocations: 0 / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.3669, allocations: 23.94 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3673, allocations: 37.97 kB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.3692, allocations: 1.593 MB / 0.571 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.3693, allocations: 89.44 kB / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.3694, allocations: 25.25 kB / 0.5711 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.3695, allocations: 35.42 kB / 0.5712 GB, free: 9.082 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3695, allocations: 0 / 0.5712 GB, free: 9.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.4018, allocations: 4.837 MB / 0.5759 GB, free: 4.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 4 kB / 0.5759 GB, free: 4.254 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.712442955002189]