Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2946/0.2946, allocations: 46.95 MB / 360.9 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.89 kB / 0.4962 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3309, allocations: 66.04 MB / 0.5607 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003668/0.3345, allocations: 1.87 MB / 0.5625 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3366, allocations: 1.079 MB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.3367, allocations: 4 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.3371, allocations: 159.5 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.3375, allocations: 187.2 kB / 0.5639 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3378, allocations: 111.7 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.3382, allocations: 251.2 kB / 0.5642 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3383, allocations: 23.78 kB / 0.5643 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.3385, allocations: 115.5 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.3387, allocations: 143.5 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3387, allocations: 8 kB / 0.5645 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3388, allocations: 67.92 kB / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3389, allocations: 51.77 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.339, allocations: 59.55 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.3394, allocations: 238.9 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3394, allocations: 0 / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3394, allocations: 0 / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3394, allocations: 0 / 0.5649 GB, free: 15.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007801/0.3402, allocations: 480.6 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3402, allocations: 8.031 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.3403, allocations: 38.75 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.3403, allocations: 28.75 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3407, allocations: 218.5 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3407, allocations: 12.36 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3407, allocations: 7.938 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.341, allocations: 115.3 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.341, allocations: 4 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.341, allocations: 4 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.341, allocations: 4 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3412, allocations: 51.83 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.3418, allocations: 428 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.3422, allocations: 121.2 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3423, allocations: 45.81 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3423, allocations: 8 kB / 0.5664 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.3426, allocations: 128.9 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.3426, allocations: 0 / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001437/0.344, allocations: 0.4972 MB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.3441, allocations: 89.03 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.3446, allocations: 376.5 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3446, allocations: 33.7 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3447, allocations: 152.5 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.3448, allocations: 79.3 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.3449, allocations: 45.7 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.345, allocations: 342.8 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3452, allocations: 55.97 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3453, allocations: 95.39 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3457, allocations: 159.5 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3457, allocations: 0 / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004741/0.3462, allocations: 241.3 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3462, allocations: 4 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3462, allocations: 0 / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3462, allocations: 4 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3463, allocations: 51.91 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3464, allocations: 4 kB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.3464, allocations: 8 kB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3465, allocations: 8 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001632/0.3466, allocations: 166.3 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.3467, allocations: 35.75 kB / 0.5689 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.3473, allocations: 280 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3473, allocations: 3.938 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3473, allocations: 4 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3473, allocations: 0 / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3484, allocations: 0.6874 MB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3484, allocations: 8.031 kB / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.3485, allocations: 32.17 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3485, allocations: 4 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3485, allocations: 15.92 kB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3485, allocations: 3.938 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3485, allocations: 7.938 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.3491, allocations: 437.5 kB / 0.5703 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.3491, allocations: 19.86 kB / 0.5703 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.3492, allocations: 11.98 kB / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3493, allocations: 15.94 kB / 0.5704 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.3494, allocations: 23.91 kB / 0.5704 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.3494, allocations: 11.98 kB / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.3497, allocations: 287 kB / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3497, allocations: 0 / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.3501, allocations: 55.88 kB / 0.5707 GB, free: 9.555 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002962/0.353, allocations: 1.417 MB / 0.5721 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000383/0.3534, allocations: 159.7 kB / 0.5723 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3534, allocations: 4 kB / 0.5723 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.3536, allocations: 75.84 kB / 0.5723 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.3541, allocations: 70.86 kB / 0.5724 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.3578, allocations: 2.744 MB / 0.5751 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.358, allocations: 161.3 kB / 0.5752 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3581, allocations: 41.92 kB / 0.5753 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3583, allocations: 87.39 kB / 0.5754 GB, free: 4.875 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3583, allocations: 4 kB / 0.5754 GB, free: 4.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3924, allocations: 6.925 MB / 0.5821 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 0 / 0.5821 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.913168922998011]