Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001366/0.001366, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001458/0.001458, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.388/1.388, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2206/0.2206, allocations: 46.94 MB / 360.8 MB, free: 3.91 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 79.86 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3203, allocations: 66.09 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003237/0.3235, allocations: 1.701 MB / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3253, allocations: 0.9671 MB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.3254, allocations: 3.938 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3256, allocations: 43.77 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3259, allocations: 91.59 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3261, allocations: 75.69 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.3263, allocations: 107.7 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.3264, allocations: 5.828 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-05/0.3265, allocations: 43.78 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.3266, allocations: 47.72 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3266, allocations: 4 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3267, allocations: 39.98 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.3268, allocations: 15.92 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.3268, allocations: 27.86 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.327, allocations: 111.5 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.327, allocations: 0 / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.327, allocations: 0 / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.327, allocations: 3.938 kB / 0.564 GB, free: 0.6914 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.0005642/0.3276, allocations: 345.5 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3276, allocations: 8.031 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3277, allocations: 38.75 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3277, allocations: 12.88 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.328, allocations: 142.4 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.328, allocations: 4.375 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.328, allocations: 384 / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3282, allocations: 69.78 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3282, allocations: 3.938 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3282, allocations: 0 / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.3282, allocations: 0 / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.3283, allocations: 23.98 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3287, allocations: 263.9 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3288, allocations: 50.67 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.3289, allocations: 28.78 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3289, allocations: 0 / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3291, allocations: 71.38 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3291, allocations: 0 / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.3296, allocations: 173.4 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3297, allocations: 55.41 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3299, allocations: 182.2 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3299, allocations: 25.7 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.3299, allocations: 100.1 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.33, allocations: 27.78 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.33, allocations: 21.72 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3302, allocations: 330.8 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.3302, allocations: 19.98 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.3303, allocations: 37.7 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3304, allocations: 61.64 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3304, allocations: 4 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.3306, allocations: 113.5 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3306, allocations: 14.12 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3307, allocations: 0 / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3307, allocations: 0 / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.3308, allocations: 12 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3308, allocations: 160 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.3308, allocations: 7.984 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3308, allocations: 4 kB / 0.5661 GB, free: 14.28 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.000103/0.3309, allocations: 129.8 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.3309, allocations: 7.953 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3312, allocations: 130.4 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3312, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3312, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3312, allocations: 4.359 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.3317, allocations: 366.4 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3317, allocations: 4 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.3318, allocations: 19.92 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.3318, allocations: 4.031 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3318, allocations: 4 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3318, allocations: 3.938 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3318, allocations: 0 / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3321, allocations: 208.3 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.3321, allocations: 15.89 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3321, allocations: 4 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.3322, allocations: 7.938 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3322, allocations: 7.984 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.3322, allocations: 4 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3324, allocations: 131.2 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3324, allocations: 0 / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.3326, allocations: 31.92 kB / 0.5672 GB, free: 13.12 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 (9): * Single equations (assignments): 7 * 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.002304/0.3349, allocations: 1.125 MB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.3351, allocations: 63.86 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3351, allocations: 0 / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.3352, allocations: 31.92 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3356, allocations: 31.97 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3375, allocations: 1.618 MB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.639e-05/0.3376, allocations: 97.44 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.3376, allocations: 12.97 kB / 0.5701 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.3377, allocations: 31.42 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3377, allocations: 0 / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.3688, allocations: 4.027 MB / 0.574 GB, free: 6.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.95, allocations: 8.062 kB / 0.574 GB, free: 6.145 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.746287170797586]