Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.00135/0.00135, allocations: 110 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.001416/0.001416, allocations: 212.5 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.463/1.463, 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.2309/0.2309, allocations: 46.92 MB / 360.8 MB, free: 4.164 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003757/0.003757, allocations: 75.88 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.306, allocations: 66.09 MB / 0.5608 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003072/0.309, allocations: 1.733 MB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.3115, allocations: 1.742 MB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.3116, allocations: 3.938 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.3119, allocations: 35.77 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3122, allocations: 99.59 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.3124, allocations: 79.67 kB / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3126, allocations: 111.6 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.3126, allocations: 17.81 kB / 0.5645 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.3127, allocations: 43.8 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3129, allocations: 43.83 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3129, allocations: 4 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.3131, allocations: 115.9 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.3131, allocations: 15.92 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3132, allocations: 43.72 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3135, allocations: 171.3 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3135, allocations: 0 / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3135, allocations: 0 / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3135, allocations: 4 kB / 0.565 GB, free: 15.97 MB / 414.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.0005259/0.314, allocations: 345.5 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3141, allocations: 8.031 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.3141, allocations: 34.75 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3142, allocations: 12.84 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3144, allocations: 154.9 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3144, allocations: 8.312 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.3144, allocations: 7.938 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3146, allocations: 75.33 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3146, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3146, allocations: 7.938 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3146, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.3147, allocations: 15.98 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.3151, allocations: 271.9 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3152, allocations: 54.62 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.3153, allocations: 20.84 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3153, allocations: 0 / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3155, allocations: 67.39 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3155, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.316, allocations: 173.4 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3161, allocations: 81.11 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3163, allocations: 162.4 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3163, allocations: 29.7 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3163, allocations: 100.1 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.3164, allocations: 27.75 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3164, allocations: 25.7 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3165, allocations: 322.8 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.136e-05/0.3166, allocations: 23.92 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.3167, allocations: 42.56 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3168, allocations: 61.69 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3168, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.317, allocations: 97.58 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.317, allocations: 8.062 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.317, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.317, allocations: 3.984 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3171, allocations: 16 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3171, allocations: 0 / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.3172, allocations: 7.938 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3172, allocations: 4 kB / 0.5671 GB, free: 13.52 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.0001087/0.3173, allocations: 127.1 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3173, allocations: 7.953 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.3176, allocations: 114.4 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3176, allocations: 3.938 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3176, allocations: 0 / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3176, allocations: 3.938 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.318, allocations: 371 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.318, allocations: 192 / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.3181, allocations: 15.94 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3181, allocations: 7.906 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3181, allocations: 12 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3181, allocations: 3.984 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3181, allocations: 80 / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3183, allocations: 196.3 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.3184, allocations: 11.95 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3184, allocations: 3.938 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.3185, allocations: 11.98 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3185, allocations: 7.984 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3185, allocations: 7.984 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3186, allocations: 131.9 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3186, allocations: 3.938 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000308/0.319, allocations: 43.88 kB / 0.5682 GB, free: 12.37 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.002425/0.3214, allocations: 1.18 MB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3216, allocations: 59.92 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3216, allocations: 4.062 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.3217, allocations: 31.91 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.322, allocations: 31.97 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3239, allocations: 1.585 MB / 0.571 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3242, allocations: 0.7043 MB / 0.5717 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.213e-05/0.3243, allocations: 17.28 kB / 0.5717 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.3243, allocations: 39.34 kB / 0.5717 GB, free: 8.762 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3243, allocations: 0 / 0.5717 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.3558, allocations: 4.195 MB / 0.5758 GB, free: 4.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.62, allocations: 3.938 kB / 0.5758 GB, free: 4.574 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.608785016927868]