Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001462/0.001462, allocations: 120.4 kB / 20.43 MB, free: 1.301 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.001611/0.001611, allocations: 211.3 kB / 23.74 MB, free: 4.539 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.2448/0.2448, allocations: 46.92 MB / 360.8 MB, free: 4.148 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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 79.88 kB / 0.4963 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3087, allocations: 66.08 MB / 0.5608 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003404/0.3121, allocations: 1.741 MB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3139, allocations: 1.045 MB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.314, allocations: 4 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.3143, allocations: 47.77 kB / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.3146, allocations: 103.5 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.3148, allocations: 75.73 kB / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.315, allocations: 111.6 kB / 0.5638 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.3151, allocations: 9.828 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3152, allocations: 47.72 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.3153, allocations: 35.84 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3153, allocations: 4 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3154, allocations: 43.92 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.3154, allocations: 23.92 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.3155, allocations: 31.75 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3157, allocations: 127.4 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3157, allocations: 4 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3157, allocations: 0 / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3157, allocations: 0 / 0.5642 GB, free: 0.7695 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.0005425/0.3163, allocations: 353.5 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3163, allocations: 8.031 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.3164, allocations: 30.75 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.3164, allocations: 20.83 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3167, allocations: 166.2 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3167, allocations: 384 / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3167, allocations: 8.359 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3169, allocations: 57.8 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3169, allocations: 0 / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.3169, allocations: 0 / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3169, allocations: 0 / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.317, allocations: 23.98 kB / 0.5648 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.3174, allocations: 271.8 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3176, allocations: 46.69 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.3176, allocations: 20.84 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3176, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3178, allocations: 75.33 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3178, allocations: 0 / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005549/0.3184, allocations: 181.3 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3184, allocations: 51.41 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.3187, allocations: 214.2 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3187, allocations: 29.69 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.3187, allocations: 108.1 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3188, allocations: 27.78 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.3188, allocations: 21.72 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.319, allocations: 330.8 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.319, allocations: 19.98 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.3191, allocations: 37.64 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3192, allocations: 65.64 kB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3192, allocations: 4 kB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001862/0.3194, allocations: 97.58 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3194, allocations: 8 kB / 0.5663 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3194, allocations: 0 / 0.5663 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3195, allocations: 384 / 0.5663 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.3196, allocations: 23.92 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3196, allocations: 4 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.3196, allocations: 4 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3196, allocations: 4 kB / 0.5664 GB, free: 14.29 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.0001149/0.3197, allocations: 136.9 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3198, allocations: 15.91 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.32, allocations: 119.1 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.32, allocations: 4 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.32, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.32, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3205, allocations: 374.3 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3205, allocations: 4.031 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.3205, allocations: 8 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3205, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3206, allocations: 4 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3206, allocations: 3.938 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3206, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3208, allocations: 204.2 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3208, allocations: 15.94 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3208, allocations: 4 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3209, allocations: 3.938 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.321, allocations: 11.98 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.321, allocations: 4 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3211, allocations: 152.3 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3211, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3214, allocations: 27.94 kB / 0.5674 GB, free: 13.13 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.002199/0.3236, allocations: 1.093 MB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3238, allocations: 59.91 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3238, allocations: 0 / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.3239, allocations: 27.92 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3242, allocations: 27.97 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.3262, allocations: 1.697 MB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3265, allocations: 0.7002 MB / 0.5709 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.3266, allocations: 24.58 kB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.3267, allocations: 43.42 kB / 0.571 GB, free: 9.484 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3267, allocations: 0 / 0.571 GB, free: 9.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3569, allocations: 3.674 MB / 0.5746 GB, free: 5.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.58, allocations: 6.5 kB / 0.5746 GB, free: 5.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.557602827902883]