Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001835/0.001835, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002244/0.002244, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2296/0.2296, allocations: 46.94 MB / 360.8 MB, free: 4.172 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 79.88 kB / 0.4963 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3113, allocations: 66.08 MB / 0.5608 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00375/0.3151, allocations: 1.749 MB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3176, allocations: 1.738 MB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.3176, allocations: 7.938 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3179, allocations: 35.77 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.3182, allocations: 95.55 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3184, allocations: 79.72 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3186, allocations: 111.6 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.3187, allocations: 9.828 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3188, allocations: 55.77 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3189, allocations: 39.84 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3189, allocations: 4 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3191, allocations: 111.9 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.3192, allocations: 27.91 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.3192, allocations: 31.75 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.3195, allocations: 175.3 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3195, allocations: 0 / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3195, allocations: 0 / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3195, allocations: 0 / 0.5649 GB, free: 20 kB / 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.0005928/0.3201, allocations: 345.5 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3202, allocations: 12.02 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.3202, allocations: 34.75 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3202, allocations: 16.84 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3205, allocations: 154.3 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3205, allocations: 4.312 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3205, allocations: 15.88 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3207, allocations: 67.38 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3207, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3207, allocations: 7.984 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3207, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.3208, allocations: 19.98 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3212, allocations: 259.9 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3214, allocations: 58.61 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.3214, allocations: 16.86 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3214, allocations: 7.984 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3216, allocations: 71.39 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3216, allocations: 0 / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005181/0.3221, allocations: 165.4 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.3221, allocations: 81.09 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3223, allocations: 166.4 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3223, allocations: 29.7 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3224, allocations: 104.1 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3224, allocations: 35.72 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.3225, allocations: 21.66 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3226, allocations: 322.8 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.3227, allocations: 23.98 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.3227, allocations: 42.56 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3229, allocations: 57.75 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3229, allocations: 0 / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.323, allocations: 97.56 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3231, allocations: 8 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3231, allocations: 0 / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3231, allocations: 0 / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.3232, allocations: 19.98 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3232, allocations: 3.938 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.3232, allocations: 11.97 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3232, allocations: 4 kB / 0.5671 GB, free: 13.56 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.0001012/0.3233, allocations: 121.7 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3234, allocations: 11.94 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.3236, allocations: 114.5 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3236, allocations: 3.938 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3236, allocations: 0 / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3236, allocations: 11.86 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.3241, allocations: 366.4 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3241, allocations: 0 / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.3242, allocations: 11.94 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3242, allocations: 3.938 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3242, allocations: 0 / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3242, allocations: 4 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3242, allocations: 0 / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3244, allocations: 204.4 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.3244, allocations: 11.94 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3245, allocations: 8.312 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.3246, allocations: 4 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3246, allocations: 7.922 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3246, allocations: 8 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3247, allocations: 131.9 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3247, allocations: 192 / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.325, allocations: 51.86 kB / 0.5682 GB, free: 12.42 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.00239/0.3274, allocations: 1.181 MB / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3276, allocations: 59.91 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3276, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.3277, allocations: 31.92 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.328, allocations: 23.98 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.3299, allocations: 1.585 MB / 0.571 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3302, allocations: 0.7041 MB / 0.5717 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.3303, allocations: 32.94 kB / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.3304, allocations: 31.42 kB / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3304, allocations: 0 / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3619, allocations: 4.197 MB / 0.5758 GB, free: 4.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 3.938 kB / 0.5758 GB, free: 4.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.551223910180852]