Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.00174/0.00174, allocations: 114 kB / 20.43 MB, free: 1.457 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.002081/0.002081, allocations: 214 kB / 23.74 MB, free: 4.672 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 8 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.2256/0.2256, allocations: 46.92 MB / 360.8 MB, free: 4.168 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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 83.88 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3363, allocations: 66.08 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003273/0.3396, allocations: 1.702 MB / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3414, allocations: 1.018 MB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.3415, allocations: 3.938 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3418, allocations: 59.73 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3421, allocations: 99.59 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3423, allocations: 75.67 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3425, allocations: 111.7 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.3426, allocations: 4.234 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3427, allocations: 47.78 kB / 0.5638 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3428, allocations: 47.7 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3428, allocations: 4 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.3429, allocations: 31.98 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.3429, allocations: 19.92 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.343, allocations: 31.8 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.3432, allocations: 97.42 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3432, allocations: 4 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3432, allocations: 3.938 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3432, allocations: 0 / 0.5641 GB, free: 0.8867 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.0005248/0.3437, allocations: 345.5 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3438, allocations: 8.031 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.3438, allocations: 30.75 kB / 0.5644 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3438, allocations: 12.83 kB / 0.5644 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3441, allocations: 155.6 kB / 0.5646 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3441, allocations: 4.375 kB / 0.5646 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3441, allocations: 8.359 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3443, allocations: 45.81 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3443, allocations: 0 / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3443, allocations: 4 kB / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3443, allocations: 0 / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.3444, allocations: 19.92 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.3446, allocations: 148.8 kB / 0.5648 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3448, allocations: 54.61 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.3448, allocations: 16.86 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3448, allocations: 3.984 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.345, allocations: 71.27 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.345, allocations: 0 / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000288/0.3453, allocations: 97.62 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.3454, allocations: 51.41 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3455, allocations: 179.2 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3456, allocations: 33.69 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.3456, allocations: 96.14 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3457, allocations: 15.92 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.3457, allocations: 21.72 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3458, allocations: 318.8 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.3459, allocations: 16 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.3459, allocations: 33.64 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.749e-05/0.346, allocations: 41.7 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.346, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001758/0.3462, allocations: 93.72 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3462, allocations: 6.344 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3462, allocations: 4.031 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3462, allocations: 0 / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.3463, allocations: 15.98 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3463, allocations: 0 / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.3464, allocations: 4 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3464, allocations: 7.938 kB / 0.5659 GB, free: 14.76 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.0001006/0.3465, allocations: 124.2 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.3465, allocations: 11.89 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.3467, allocations: 102.6 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3467, allocations: 0 / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3467, allocations: 0 / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3467, allocations: 0 / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3469, allocations: 160.6 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3469, allocations: 3.938 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.3469, allocations: 4 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3469, allocations: 0 / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3469, allocations: 4 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3469, allocations: 0 / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3469, allocations: 0 / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3471, allocations: 113 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.3471, allocations: 15.88 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3471, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.3472, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.3472, allocations: 11.98 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3473, allocations: 4.188 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3474, allocations: 136.9 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3474, allocations: 4 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.3476, allocations: 12 kB / 0.5666 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.001908/0.3495, allocations: 0.9566 MB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3496, allocations: 35.98 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3497, allocations: 4.062 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.3497, allocations: 23.92 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.35, allocations: 22.58 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3518, allocations: 1.481 MB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3521, allocations: 0.7117 MB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.3522, allocations: 16.47 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.3523, allocations: 27.42 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3523, allocations: 0 / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.3844, allocations: 3.257 MB / 0.573 GB, free: 7.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.3, allocations: 3.984 kB / 0.573 GB, free: 7.488 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.327880820957944]