Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00263/0.00263, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3358/0.3358, allocations: 44.23 MB / 326.5 MB, free: 6.867 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 79.89 kB / 462.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2509, allocations: 60.99 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002757/0.2536, allocations: 1.927 MB / 0.5128 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2547, allocations: 0.8487 MB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.2548, allocations: 0 / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.255, allocations: 50.27 kB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.2552, allocations: 63.28 kB / 0.5138 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.2555, allocations: 92.94 kB / 0.5139 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2556, allocations: 146.3 kB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.2557, allocations: 25.66 kB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.2558, allocations: 56.91 kB / 0.5141 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.2559, allocations: 56.92 kB / 0.5141 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2559, allocations: 7.156 kB / 0.5142 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.256, allocations: 41.48 kB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.256, allocations: 34.88 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.2561, allocations: 47.98 kB / 0.5143 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.2563, allocations: 150.3 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2563, allocations: 0 / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2563, allocations: 0 / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.2563, allocations: 0 / 0.5144 GB, free: 10.5 MB / 382.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.0004905/0.2568, allocations: 492.4 kB / 0.5149 GB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2568, allocations: 12.98 kB / 0.5149 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.2569, allocations: 37.59 kB / 0.5149 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2569, allocations: 15.78 kB / 0.5149 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.2571, allocations: 225.6 kB / 0.5152 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2571, allocations: 3.344 kB / 0.5152 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.2572, allocations: 16.23 kB / 0.5152 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.2574, allocations: 107 kB / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2574, allocations: 0 / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2574, allocations: 1.312 kB / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.2574, allocations: 1.344 kB / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2575, allocations: 55.17 kB / 0.5153 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.258, allocations: 0.5144 MB / 0.5158 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.2583, allocations: 80.97 kB / 0.5159 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.2583, allocations: 33.34 kB / 0.516 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2584, allocations: 5.375 kB / 0.516 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.2585, allocations: 81.31 kB / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.2585, allocations: 0 / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003498/0.2589, allocations: 147.4 kB / 0.5162 GB, free: 8.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.2589, allocations: 52.78 kB / 0.5162 GB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.259, allocations: 191.7 kB / 0.5164 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2591, allocations: 37.62 kB / 0.5164 GB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.2591, allocations: 115.3 kB / 0.5166 GB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2591, allocations: 27.88 kB / 0.5166 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.2592, allocations: 31.33 kB / 0.5166 GB, free: 8.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.2592, allocations: 323 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.2593, allocations: 31.05 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.2594, allocations: 74.64 kB / 0.517 GB, free: 8.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2595, allocations: 97.27 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2595, allocations: 4 kB / 0.5171 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002282/0.2598, allocations: 134 kB / 0.5172 GB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2598, allocations: 10.7 kB / 0.5173 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2598, allocations: 4 kB / 0.5173 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2598, allocations: 6.562 kB / 0.5173 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.2599, allocations: 17.84 kB / 0.5173 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2599, allocations: 6.984 kB / 0.5173 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.26, allocations: 12.11 kB / 0.5173 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.26, allocations: 9.156 kB / 0.5173 GB, free: 7.828 MB / 382.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 7.396e-05/0.26, allocations: 129.7 kB / 0.5174 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.2601, allocations: 14.47 kB / 0.5174 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.2601, allocations: 14.12 kB / 0.5175 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2601, allocations: 5.406 kB / 0.5175 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2601, allocations: 0 / 0.5175 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2601, allocations: 1.656 kB / 0.5175 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.2602, allocations: 213.4 kB / 0.5177 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2602, allocations: 4 kB / 0.5177 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.2603, allocations: 13.39 kB / 0.5177 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2603, allocations: 0 / 0.5177 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2603, allocations: 1.312 kB / 0.5177 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2603, allocations: 5.406 kB / 0.5177 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2603, allocations: 3.938 kB / 0.5177 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.2607, allocations: 192.8 kB / 0.5179 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.2607, allocations: 88.7 kB / 0.518 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2607, allocations: 5.719 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.2608, allocations: 11.86 kB / 0.518 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.2608, allocations: 2.562 kB / 0.518 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2609, allocations: 7.188 kB / 0.518 GB, free: 7.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.2609, allocations: 143.7 kB / 0.5181 GB, free: 7.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2609, allocations: 0 / 0.5181 GB, free: 7.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.2612, allocations: 28.36 kB / 0.5182 GB, free: 7.055 MB / 382.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001772/0.263, allocations: 1.029 MB / 0.5192 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2632, allocations: 75.83 kB / 0.5192 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2632, allocations: 4.25 kB / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.2633, allocations: 32.8 kB / 0.5193 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2635, allocations: 39.91 kB / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.265, allocations: 1.744 MB / 0.521 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2651, allocations: 0.7123 MB / 0.5217 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.2652, allocations: 21.36 kB / 0.5217 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.2652, allocations: 39.42 kB / 0.5218 GB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2652, allocations: 0 / 0.5218 GB, free: 3.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.2899, allocations: 3.791 MB / 0.5255 GB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.653, allocations: 12.78 kB / 0.5255 GB, free: 15.55 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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: 11.708363969344646]