Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001757/0.001757, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002261/0.002261, allocations: 210.9 kB / 24.54 MB, free: 3.879 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.435/1.435, allocations: 230.3 MB / 258 MB, free: 8.215 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.223/0.223, allocations: 46.89 MB / 361.3 MB, free: 4.449 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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 79.86 kB / 0.4966 GB, free: 8.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3285, allocations: 66.02 MB / 0.5611 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003313/0.3318, allocations: 1.706 MB / 0.5628 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3337, allocations: 1.021 MB / 0.5638 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.3338, allocations: 3.938 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.3341, allocations: 67.72 kB / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.3344, allocations: 107.6 kB / 0.5639 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.3346, allocations: 75.69 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3348, allocations: 107.7 kB / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.3349, allocations: 4.234 kB / 0.5641 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.335, allocations: 55.75 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3351, allocations: 47.72 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3351, allocations: 4 kB / 0.5642 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.3352, allocations: 35.97 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.3352, allocations: 19.92 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.3353, allocations: 27.81 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3355, allocations: 113.5 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3355, allocations: 0 / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3355, allocations: 0 / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3355, allocations: 7.938 kB / 0.5644 GB, free: 1.262 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005551/0.3361, allocations: 410.7 kB / 0.5648 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3361, allocations: 8.031 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3361, allocations: 38.73 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3362, allocations: 12.84 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3365, allocations: 212.9 kB / 0.5651 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3365, allocations: 8.375 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.3365, allocations: 384 / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3367, allocations: 53.8 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3367, allocations: 4 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3367, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3367, allocations: 0 / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.3368, allocations: 15.94 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.337, allocations: 185.6 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.3371, allocations: 50.62 kB / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.3372, allocations: 24.78 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3372, allocations: 0 / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3374, allocations: 67.27 kB / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3374, allocations: 0 / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002991/0.3377, allocations: 97.62 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3377, allocations: 55.41 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3379, allocations: 194.3 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3379, allocations: 29.64 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.338, allocations: 100.1 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.338, allocations: 15.91 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.3381, allocations: 21.7 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3382, allocations: 322.8 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.3383, allocations: 16 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.3383, allocations: 33.64 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3384, allocations: 49.95 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3384, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.3386, allocations: 85.47 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3386, allocations: 4 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.3386, allocations: 8.031 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3386, allocations: 0 / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.3387, allocations: 8 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3387, allocations: 3.984 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.3388, allocations: 7.938 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3388, allocations: 0 / 0.5665 GB, free: 14.92 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 (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 0.0001039/0.3389, allocations: 127.2 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3389, allocations: 15.88 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.3391, allocations: 94.7 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3391, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3391, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3391, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.3393, allocations: 189.6 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3393, allocations: 3.938 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.3393, allocations: 4 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3393, allocations: 0 / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3393, allocations: 4 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3393, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3393, allocations: 3.984 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3395, allocations: 117.2 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.3396, allocations: 89 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3396, allocations: 0 / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.3396, allocations: 3.984 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.3396, allocations: 4 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3397, allocations: 7.938 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3398, allocations: 152.2 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3398, allocations: 4 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.34, allocations: 19.94 kB / 0.5673 GB, free: 13.98 MB / 414.1 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 (5): * Single equations (assignments): 3 * 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.001819/0.3418, allocations: 0.9486 MB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.342, allocations: 43.97 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.342, allocations: 0 / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.3421, allocations: 12 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3424, allocations: 35.28 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3441, allocations: 1.498 MB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3444, allocations: 0.7118 MB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.3445, allocations: 16.47 kB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.3445, allocations: 23.44 kB / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3445, allocations: 0 / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.3698, allocations: 3.206 MB / 0.5736 GB, free: 7.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.512, allocations: 3.25 kB / 0.5736 GB, free: 7.496 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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: 11.568302512168884]