Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001778/0.001778, allocations: 114 kB / 20.43 MB, free: 1.457 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.001499/0.001499, allocations: 213.3 kB / 23.74 MB, free: 4.672 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2634/0.2634, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004095/0.004095, allocations: 79.88 kB / 0.4963 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4276, allocations: 66.08 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003455/0.4311, allocations: 1.745 MB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4329, allocations: 1.041 MB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.433, allocations: 4 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.4333, allocations: 35.77 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.4336, allocations: 103.5 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.4338, allocations: 83.67 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.434, allocations: 107.7 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.4341, allocations: 9.812 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.4342, allocations: 47.73 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.4343, allocations: 39.77 kB / 0.5639 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.4343, allocations: 4 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.4344, allocations: 36 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.4345, allocations: 19.92 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.4345, allocations: 39.73 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.4347, allocations: 115.5 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4347, allocations: 0 / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4347, allocations: 8 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.4348, allocations: 3.938 kB / 0.5642 GB, free: 0.8438 MB / 398.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.0005735/0.4353, allocations: 349.5 kB / 0.5645 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4354, allocations: 12.03 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.4354, allocations: 30.75 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.4355, allocations: 8.891 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4357, allocations: 158.9 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4357, allocations: 8.359 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.4358, allocations: 8.375 kB / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.4359, allocations: 53.8 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4359, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.436, allocations: 4 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.436, allocations: 4 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.436, allocations: 19.92 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.4365, allocations: 260 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.4367, allocations: 54.67 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.4367, allocations: 16.86 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4368, allocations: 0 / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.4369, allocations: 71.33 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.437, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000597/0.4375, allocations: 181.3 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4376, allocations: 51.41 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.4378, allocations: 202.2 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4378, allocations: 29.7 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.4379, allocations: 108.1 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.438, allocations: 27.78 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.438, allocations: 17.72 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4382, allocations: 330.8 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.4382, allocations: 23.98 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.4383, allocations: 37.64 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4384, allocations: 61.66 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4384, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.4386, allocations: 105.9 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4386, allocations: 8 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4386, allocations: 4.031 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4387, allocations: 0 / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.4388, allocations: 23.98 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4388, allocations: 4 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.4388, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4388, allocations: 4 kB / 0.5663 GB, free: 14.41 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.0001352/0.439, allocations: 132 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.439, allocations: 15.91 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.4392, allocations: 115 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4392, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4393, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4393, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.4397, allocations: 370.6 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4398, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.4398, allocations: 8 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4398, allocations: 0 / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4398, allocations: 11.98 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4398, allocations: 7.969 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4398, allocations: 0 / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4401, allocations: 200.2 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.4401, allocations: 11.95 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4401, allocations: 7.938 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.4402, allocations: 3.938 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.4402, allocations: 11.98 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.4402, allocations: 4 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.4404, allocations: 148.2 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4404, allocations: 0 / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.4407, allocations: 27.92 kB / 0.5674 GB, free: 13.26 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 (8): * Single equations (assignments): 6 * 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.00228/0.443, allocations: 1.088 MB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.4431, allocations: 59.84 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4431, allocations: 4.062 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.4432, allocations: 20 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.4436, allocations: 27.97 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.4456, allocations: 1.668 MB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.446, allocations: 0.7119 MB / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.446, allocations: 16.97 kB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.4461, allocations: 35.42 kB / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4461, allocations: 0 / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.4772, allocations: 3.621 MB / 0.5744 GB, free: 6.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.45, allocations: 2.188 kB / 0.5744 GB, free: 6.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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: 14.579949190141633]