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.001242/0.001242, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001344/0.001344, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.395/1.395, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.2217/0.2217, allocations: 46.93 MB / 361.6 MB, free: 3.965 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 79.88 kB / 0.497 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3408, allocations: 66.08 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003683/0.3445, allocations: 1.885 MB / 0.5633 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3464, allocations: 1.006 MB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.3464, allocations: 3.938 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.3468, allocations: 51.7 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.3471, allocations: 99.48 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3473, allocations: 95.7 kB / 0.5646 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3475, allocations: 147.5 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3476, allocations: 27.55 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.3477, allocations: 59.72 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3479, allocations: 51.7 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3479, allocations: 8 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.348, allocations: 47.98 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.3481, allocations: 31.86 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.3481, allocations: 39.73 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3484, allocations: 155.2 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3484, allocations: 0 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3484, allocations: 4 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3485, allocations: 0 / 0.5651 GB, free: 320 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.0007131/0.3492, allocations: 419 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3492, allocations: 15.97 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.3492, allocations: 192 / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.3493, allocations: 38.75 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.3493, allocations: 20.84 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3497, allocations: 175 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3497, allocations: 8.375 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.3498, allocations: 4.375 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.35, allocations: 137.8 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3501, allocations: 0 / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3501, allocations: 4 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3501, allocations: 0 / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3503, allocations: 59.89 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.351, allocations: 480.1 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.3513, allocations: 86.61 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3514, allocations: 36.83 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3514, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.3517, allocations: 109.1 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3517, allocations: 4 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000449/0.3521, allocations: 149.5 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3522, allocations: 63.28 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3524, allocations: 199.2 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3524, allocations: 33.7 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3525, allocations: 112.1 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3526, allocations: 27.75 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.3526, allocations: 33.7 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3528, allocations: 326.8 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.3529, allocations: 31.98 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.353, allocations: 68.77 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.3532, allocations: 100.1 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3532, allocations: 0 / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002882/0.3535, allocations: 145.4 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3535, allocations: 4 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3535, allocations: 4 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3535, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3536, allocations: 31.86 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3537, allocations: 3.938 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.3537, allocations: 15.88 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3537, allocations: 12 kB / 0.5679 GB, free: 13.15 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.0001291/0.3539, allocations: 129.9 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3539, allocations: 15.91 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.3542, allocations: 127 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3542, allocations: 3.984 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3542, allocations: 7.938 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3542, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3544, allocations: 172.7 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3544, allocations: 0 / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/0.3545, allocations: 15.98 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3545, allocations: 0 / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3545, allocations: 12 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3545, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3545, allocations: 3.938 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.3549, allocations: 197 kB / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.3549, allocations: 15.88 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.355, allocations: 0 / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.355, allocations: 11.97 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3551, allocations: 15.92 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3551, allocations: 8 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3553, allocations: 151.3 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3553, allocations: 0 / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.3556, allocations: 24 kB / 0.5688 GB, free: 12.18 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.002249/0.3578, allocations: 1.053 MB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3581, allocations: 80.08 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3581, allocations: 4.062 kB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3582, allocations: 40.09 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3585, allocations: 39.8 kB / 0.57 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3608, allocations: 1.765 MB / 0.5717 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.3609, allocations: 109.8 kB / 0.5718 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.3609, allocations: 21.42 kB / 0.5718 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/0.361, allocations: 43.42 kB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.361, allocations: 0 / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.3872, allocations: 4.212 MB / 0.576 GB, free: 4.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.11, allocations: 10.44 kB / 0.576 GB, free: 4.848 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: 14.046873976942152]