Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001687/0.001687, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002085/0.002085, allocations: 206.7 kB / 23.72 MB, free: 4.492 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.225/0.225, allocations: 46.95 MB / 360.8 MB, free: 3.895 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.88 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3097, allocations: 66.08 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003376/0.3131, allocations: 1.896 MB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3149, allocations: 1.006 MB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.315, allocations: 7.938 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.3154, allocations: 47.69 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.3157, allocations: 95.55 kB / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.316, allocations: 103.6 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3162, allocations: 143.5 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3163, allocations: 27.5 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3164, allocations: 59.72 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3165, allocations: 47.7 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.3166, allocations: 8 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3167, allocations: 51.97 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.3167, allocations: 23.92 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.3168, allocations: 43.67 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3171, allocations: 155.3 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3171, allocations: 4 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3171, allocations: 4 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3171, allocations: 0 / 0.5644 GB, free: 264 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000688/0.3178, allocations: 407.1 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3178, allocations: 12.03 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3179, allocations: 38.69 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.3179, allocations: 20.78 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.3183, allocations: 171 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3183, allocations: 8.375 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.3183, allocations: 16.34 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.3186, allocations: 142 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3186, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3186, allocations: 4 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3186, allocations: 0 / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3188, allocations: 47.97 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.3194, allocations: 476 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.3197, allocations: 90.59 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.3198, allocations: 32.84 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3198, allocations: 4 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.3201, allocations: 113.1 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3201, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004424/0.3205, allocations: 149.4 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3206, allocations: 51.41 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3208, allocations: 215.1 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3208, allocations: 29.7 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.3209, allocations: 116.1 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.321, allocations: 35.73 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.321, allocations: 25.72 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3212, allocations: 326.8 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.3213, allocations: 31.97 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3214, allocations: 64.28 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3216, allocations: 100.2 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3216, allocations: 0 / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002769/0.3219, allocations: 137.4 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3219, allocations: 8 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3219, allocations: 0 / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3219, allocations: 4.125 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.322, allocations: 27.92 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.322, allocations: 11.92 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.3221, allocations: 24.34 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3221, allocations: 7.938 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000117/0.3222, allocations: 123.7 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3223, allocations: 19.89 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3226, allocations: 138.9 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3226, allocations: 0 / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3226, allocations: 7.938 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3226, allocations: 0 / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3228, allocations: 168.7 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3228, allocations: 3.938 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.869e-05/0.3229, allocations: 15.98 kB / 0.5676 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3229, allocations: 0 / 0.5676 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3229, allocations: 4 kB / 0.5676 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3229, allocations: 0 / 0.5676 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3229, allocations: 7.938 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.3234, allocations: 196.9 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.3234, allocations: 15.84 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3234, allocations: 3.984 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.3235, allocations: 4 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.3235, allocations: 15.92 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3236, allocations: 4 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3237, allocations: 143.2 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3237, allocations: 0 / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3239, allocations: 31.98 kB / 0.568 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002141/0.3261, allocations: 1.068 MB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3263, allocations: 79.84 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3263, allocations: 0 / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3264, allocations: 35.91 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3267, allocations: 51.03 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.3289, allocations: 1.761 MB / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.836e-05/0.329, allocations: 105.8 kB / 0.5711 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.3291, allocations: 17.42 kB / 0.5711 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.3291, allocations: 43.42 kB / 0.5711 GB, free: 8.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3291, allocations: 0 / 0.5711 GB, free: 8.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.3617, allocations: 4.552 MB / 0.5756 GB, free: 4.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.01, allocations: 8.047 kB / 0.5756 GB, free: 4.457 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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: 13.873929444234818]