Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001703/0.001703, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.002059/0.002059, allocations: 208.5 kB / 24.51 MB, free: 3.941 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.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 7.824 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.2212/0.2212, allocations: 46.93 MB / 361.6 MB, free: 3.949 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 75.88 kB / 0.497 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3145, allocations: 66.08 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00323/0.3178, allocations: 1.902 MB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3196, allocations: 1.01 MB / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.3197, allocations: 0 / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.3199, allocations: 47.7 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3202, allocations: 103.5 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.3205, allocations: 95.66 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3207, allocations: 147.6 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3208, allocations: 23.56 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.3209, allocations: 55.72 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.321, allocations: 59.64 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.321, allocations: 8 kB / 0.5649 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.3211, allocations: 47.98 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.3212, allocations: 23.86 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.3213, allocations: 43.72 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3215, allocations: 159.2 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3215, allocations: 4 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3215, allocations: 0 / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3215, allocations: 0 / 0.5651 GB, free: 300 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.0007075/0.3222, allocations: 411.1 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3223, allocations: 8.031 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.3223, allocations: 4.188 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.3223, allocations: 38.73 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.3224, allocations: 20.78 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.3226, allocations: 174.9 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3227, allocations: 12.38 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3227, allocations: 4.375 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.323, allocations: 139.4 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.323, allocations: 0 / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.323, allocations: 4 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.323, allocations: 0 / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3231, allocations: 55.84 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.3238, allocations: 480 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3241, allocations: 86.66 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3242, allocations: 40.83 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3242, allocations: 0 / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.3244, allocations: 117 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.3244, allocations: 0 / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004213/0.3249, allocations: 149.5 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3249, allocations: 55.34 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3251, allocations: 207.1 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3252, allocations: 29.7 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.3253, allocations: 112.1 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3253, allocations: 31.73 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.3253, allocations: 25.72 kB / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3255, allocations: 330.8 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.3256, allocations: 31.98 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3257, allocations: 64.27 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3259, allocations: 108.5 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3259, allocations: 0 / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002789/0.3262, allocations: 141.4 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3262, allocations: 4.125 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3262, allocations: 4 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3262, allocations: 4 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3263, allocations: 19.98 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3264, allocations: 7.938 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.3264, allocations: 15.89 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3264, allocations: 4 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.000118/0.3266, allocations: 135.1 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3266, allocations: 11.91 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3269, allocations: 135 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3269, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3269, allocations: 3.938 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3269, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3271, allocations: 180.7 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3271, allocations: 3.984 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.3272, allocations: 15.94 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3272, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3272, allocations: 7.984 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3272, allocations: 4 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3272, allocations: 3.938 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.3276, allocations: 197 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.3276, allocations: 19.86 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3277, allocations: 0 / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.3277, allocations: 4 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.3278, allocations: 19.86 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3278, allocations: 4 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3279, allocations: 151.2 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3279, allocations: 0 / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3282, allocations: 24.06 kB / 0.5688 GB, free: 12.17 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.002211/0.3304, allocations: 1.054 MB / 0.5698 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3306, allocations: 80.02 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3306, allocations: 0 / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3307, allocations: 35.92 kB / 0.5699 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.0003186/0.3311, allocations: 55.16 kB / 0.57 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.3334, allocations: 1.768 MB / 0.5717 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3335, allocations: 105.8 kB / 0.5718 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.3335, allocations: 21.42 kB / 0.5718 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.3336, allocations: 43.42 kB / 0.5719 GB, free: 9.012 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3336, allocations: 0 / 0.5719 GB, free: 9.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.3585, allocations: 4.203 MB / 0.576 GB, free: 4.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 10.39 kB / 0.576 GB, free: 4.84 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.990305866929702]