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.00188/0.00188, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002374/0.002374, allocations: 209.7 kB / 23.74 MB, free: 4.672 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2224/0.2224, allocations: 46.93 MB / 360.9 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 180] 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.002069/0.002069, allocations: 63.91 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 66.04 MB / 0.5607 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003934/0.3248, allocations: 1.939 MB / 0.5626 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.327, allocations: 1.151 MB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.3272, allocations: 3.938 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.3277, allocations: 167.5 kB / 0.5639 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.3283, allocations: 179.3 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.3286, allocations: 123.6 kB / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.329, allocations: 243.3 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3291, allocations: 24.06 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3294, allocations: 123.5 kB / 0.5646 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.3296, allocations: 139.5 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3296, allocations: 8 kB / 0.5647 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3298, allocations: 67.97 kB / 0.5648 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3299, allocations: 59.7 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.33, allocations: 83.34 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.3304, allocations: 219 kB / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3304, allocations: 4 kB / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3304, allocations: 0 / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3304, allocations: 0 / 0.5651 GB, free: 116 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008267/0.3312, allocations: 488.4 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3312, allocations: 12.03 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3313, allocations: 34.75 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.3314, allocations: 28.75 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3318, allocations: 218.6 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3318, allocations: 12.31 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.3318, allocations: 11.94 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3321, allocations: 107.3 kB / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3321, allocations: 0 / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3321, allocations: 4 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3321, allocations: 4 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3323, allocations: 47.89 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.3329, allocations: 435.8 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3333, allocations: 125.1 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3334, allocations: 41.83 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3334, allocations: 7.938 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.3336, allocations: 125 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3336, allocations: 0 / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001351/0.335, allocations: 0.4977 MB / 0.5672 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3351, allocations: 81.11 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3355, allocations: 368.5 kB / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3355, allocations: 37.69 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3356, allocations: 140.6 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.3357, allocations: 79.36 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.3357, allocations: 41.7 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3359, allocations: 350.8 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.336, allocations: 55.97 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3362, allocations: 95.33 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.3365, allocations: 155.6 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3365, allocations: 0 / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004163/0.3369, allocations: 233.2 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3369, allocations: 11.98 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3369, allocations: 0 / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3369, allocations: 4 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3371, allocations: 39.92 kB / 0.5689 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3371, allocations: 4 kB / 0.5689 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.3372, allocations: 16.05 kB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3372, allocations: 12 kB / 0.5689 GB, free: 12 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.000164/0.3373, allocations: 158.3 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.3374, allocations: 31.75 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.3379, allocations: 259.5 kB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.338, allocations: 4 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.338, allocations: 0 / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.338, allocations: 3.984 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009338/0.3389, allocations: 0.6912 MB / 0.57 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3389, allocations: 3.938 kB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.339, allocations: 27.94 kB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.339, allocations: 7.984 kB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.339, allocations: 12.31 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.339, allocations: 0 / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.339, allocations: 15.88 kB / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.3395, allocations: 421.8 kB / 0.5705 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3396, allocations: 23.86 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3396, allocations: 4 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3398, allocations: 11.98 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3398, allocations: 27.84 kB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3398, allocations: 8 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002878/0.3401, allocations: 279 kB / 0.5708 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3401, allocations: 4 kB / 0.5708 GB, free: 9.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.3405, allocations: 51.92 kB / 0.5709 GB, free: 9.875 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 (22): * Single equations (assignments): 18 * 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.002681/0.3432, allocations: 1.359 MB / 0.5722 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.3436, allocations: 155.8 kB / 0.5723 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3436, allocations: 0 / 0.5723 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3437, allocations: 68.22 kB / 0.5724 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.3443, allocations: 79.44 kB / 0.5725 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.3481, allocations: 2.711 MB / 0.5751 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3486, allocations: 0.7636 MB / 0.5759 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3487, allocations: 49.91 kB / 0.5759 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3488, allocations: 83.41 kB / 0.576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3488, allocations: 0 / 0.576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3828, allocations: 6.343 MB / 0.5822 GB, free: 14.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 14.2 kB / 0.5822 GB, free: 14.37 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.575476681115106]