Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.00128/0.00128, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001682/0.001682, allocations: 210.1 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.91 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 66.04 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003268/0.3198, allocations: 1.745 MB / 0.5624 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.3228, allocations: 1.743 MB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.3229, allocations: 0 / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.3232, allocations: 43.77 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.3235, allocations: 99.53 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.3237, allocations: 75.69 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3239, allocations: 103.7 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.324, allocations: 13.77 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3241, allocations: 51.78 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3243, allocations: 47.77 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3243, allocations: 4 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.3245, allocations: 111.9 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.3246, allocations: 19.92 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.3247, allocations: 35.73 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.3249, allocations: 171.3 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3249, allocations: 0 / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3249, allocations: 0 / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.3249, allocations: 4 kB / 0.5649 GB, free: 180 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.0006523/0.3256, allocations: 353.5 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3256, allocations: 12.03 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.3257, allocations: 30.75 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.3257, allocations: 12.84 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3261, allocations: 156.3 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3261, allocations: 3.984 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.3261, allocations: 4 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3263, allocations: 79.33 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3263, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3263, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3263, allocations: 0 / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.3264, allocations: 19.98 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.3268, allocations: 263.8 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.327, allocations: 58.67 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.327, allocations: 20.84 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.3271, allocations: 7.938 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3272, allocations: 67.33 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3272, allocations: 0 / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005898/0.3278, allocations: 177.4 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.3279, allocations: 81.05 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3281, allocations: 170.1 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3281, allocations: 25.7 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.3282, allocations: 96.14 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.3283, allocations: 31.73 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.3283, allocations: 21.72 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3285, allocations: 322.8 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.3286, allocations: 23.98 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.3286, allocations: 42.94 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3288, allocations: 61.62 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3288, allocations: 0 / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002709/0.329, allocations: 101.6 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.329, allocations: 8.062 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.329, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3291, allocations: 4 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.3292, allocations: 23.86 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3292, allocations: 0 / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.3292, allocations: 4 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3292, allocations: 4 kB / 0.5671 GB, free: 13.71 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.0001213/0.3294, allocations: 125.1 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3294, allocations: 7.953 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3297, allocations: 114.3 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3297, allocations: 11.92 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3297, allocations: 0 / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3297, allocations: 3.938 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.3302, allocations: 366.3 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3302, allocations: 3.938 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.3302, allocations: 8 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3302, allocations: 0 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3303, allocations: 8.031 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3303, allocations: 0 / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3303, allocations: 0 / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3305, allocations: 200.8 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.3305, allocations: 19.86 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3306, allocations: 7.938 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.3306, allocations: 8 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3307, allocations: 11.97 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.3307, allocations: 4 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3308, allocations: 123.2 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3308, allocations: 0 / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.3312, allocations: 47.86 kB / 0.5681 GB, free: 12.58 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.002472/0.3336, allocations: 1.187 MB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3338, allocations: 59.95 kB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3338, allocations: 4.062 kB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.3339, allocations: 35.91 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3343, allocations: 22.94 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.3362, allocations: 1.593 MB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3365, allocations: 0.6963 MB / 0.5716 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.3366, allocations: 17.16 kB / 0.5716 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.3367, allocations: 43.41 kB / 0.5717 GB, free: 8.992 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3367, allocations: 3.938 kB / 0.5717 GB, free: 8.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.3687, allocations: 4.201 MB / 0.5758 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.24, allocations: 10.34 kB / 0.5758 GB, free: 4.816 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.220896566985175]