Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001238/0.001238, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001372/0.001372, allocations: 207.5 kB / 24.53 MB, free: 4.066 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.394/1.394, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2248/0.2248, allocations: 46.93 MB / 361.6 MB, free: 4.16 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 79.88 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3397, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002959/0.3427, allocations: 1.749 MB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3453, allocations: 1.742 MB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.3454, allocations: 3.938 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3457, allocations: 35.77 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.346, allocations: 95.59 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3463, allocations: 79.67 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.3464, allocations: 119.7 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3466, allocations: 13.91 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3467, allocations: 51.77 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3468, allocations: 51.83 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3468, allocations: 4 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.3471, allocations: 107.9 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.3471, allocations: 23.91 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.3472, allocations: 39.75 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3475, allocations: 179.3 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3475, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3475, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3475, allocations: 0 / 0.5657 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006229/0.3481, allocations: 369.3 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3482, allocations: 16.03 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.3482, allocations: 192 / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.3482, allocations: 30.75 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3483, allocations: 8.891 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3486, allocations: 158.3 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3486, allocations: 384 / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3486, allocations: 12.3 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3488, allocations: 83.31 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3488, allocations: 3.953 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3488, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3488, allocations: 4 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.3489, allocations: 27.98 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3493, allocations: 271.8 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.3495, allocations: 70.61 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.3496, allocations: 24.78 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3496, allocations: 4 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3497, allocations: 75.38 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3497, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005843/0.3503, allocations: 205.3 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3504, allocations: 81.11 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3506, allocations: 171.3 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3506, allocations: 25.7 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.3507, allocations: 100.1 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.3507, allocations: 35.73 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3507, allocations: 25.72 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3509, allocations: 322.8 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.351, allocations: 31.98 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.351, allocations: 42.56 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3512, allocations: 73.64 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3512, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002234/0.3514, allocations: 117.5 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3514, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3514, allocations: 4.062 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3514, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.3515, allocations: 12 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3515, allocations: 4 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.3516, allocations: 4.172 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3516, allocations: 7.938 kB / 0.5681 GB, free: 13.36 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 (11): * Single equations (assignments): 11 * 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.000119/0.3517, allocations: 129.7 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3518, allocations: 7.953 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.352, allocations: 134.7 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.352, allocations: 8 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.352, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.352, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.3525, allocations: 398.2 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3525, allocations: 0 / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.3526, allocations: 8 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3526, allocations: 4 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3526, allocations: 7.938 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3526, allocations: 4.031 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.3526, allocations: 3.984 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3529, allocations: 212.3 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.3529, allocations: 11.91 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3529, allocations: 11.94 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.353, allocations: 3.984 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.353, allocations: 8 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.353, allocations: 7.984 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3532, allocations: 131.2 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3532, allocations: 0 / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3535, allocations: 47.86 kB / 0.5692 GB, free: 12.16 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.002365/0.3558, allocations: 1.196 MB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.356, allocations: 63.91 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.356, allocations: 0 / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.3561, allocations: 36.05 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3565, allocations: 39.89 kB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3585, allocations: 1.649 MB / 0.5721 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3588, allocations: 0.7045 MB / 0.5728 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.024e-05/0.3589, allocations: 20.42 kB / 0.5728 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.359, allocations: 43.41 kB / 0.5728 GB, free: 8.449 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.359, allocations: 3.938 kB / 0.5728 GB, free: 8.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.3844, allocations: 4.393 MB / 0.5771 GB, free: 4.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.99, allocations: 7.672 kB / 0.5771 GB, free: 4.07 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.940419054008089]