Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.001343/0.001343, allocations: 109.8 kB / 17.08 MB, free: 5.973 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.001367/0.001367, allocations: 196.6 kB / 20.03 MB, free: 3.051 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.439/1.439, allocations: 205.1 MB / 227.9 MB, free: 4.328 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.3231/0.3231, allocations: 43.51 MB / 320.8 MB, free: 8.996 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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.002161/0.002161, allocations: 71.89 kB / 450.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2926, allocations: 57.77 MB / 0.496 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002415/0.295, allocations: 1.67 MB / 0.4976 GB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.296, allocations: 0.7802 MB / 0.4984 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.2961, allocations: 5 kB / 0.4984 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.2964, allocations: 57.42 kB / 0.4984 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.2966, allocations: 49.11 kB / 0.4985 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2968, allocations: 95.38 kB / 0.4986 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.297, allocations: 91.39 kB / 0.4986 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.297, allocations: 8.578 kB / 0.4986 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.2971, allocations: 42.42 kB / 0.4987 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.2972, allocations: 24.64 kB / 0.4987 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2972, allocations: 3.375 kB / 0.4987 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.68e-05/0.2973, allocations: 34.89 kB / 0.4987 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.2973, allocations: 26.88 kB / 0.4988 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.2974, allocations: 36.25 kB / 0.4988 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.2976, allocations: 125.2 kB / 0.4989 GB, free: 17.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2976, allocations: 0 / 0.4989 GB, free: 17.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2976, allocations: 0 / 0.4989 GB, free: 17.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2976, allocations: 1.156 kB / 0.4989 GB, free: 17.19 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004068/0.298, allocations: 428.6 kB / 0.4993 GB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.298, allocations: 17.48 kB / 0.4994 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.248e-05/0.2981, allocations: 34.73 kB / 0.4994 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.2981, allocations: 15.41 kB / 0.4994 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.2983, allocations: 226 kB / 0.4996 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2983, allocations: 5.5 kB / 0.4996 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2983, allocations: 5 kB / 0.4996 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2985, allocations: 52.3 kB / 0.4997 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2985, allocations: 0 / 0.4997 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.2985, allocations: 0 / 0.4997 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2985, allocations: 1.188 kB / 0.4997 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.2986, allocations: 15.86 kB / 0.4997 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.2987, allocations: 191.4 kB / 0.4999 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2989, allocations: 55.5 kB / 0.4999 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.2989, allocations: 25.06 kB / 0.5 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.2989, allocations: 0 / 0.5 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.2991, allocations: 68.92 kB / 0.5 GB, free: 16.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2991, allocations: 0 / 0.5 GB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002464/0.2993, allocations: 101.3 kB / 0.5001 GB, free: 15.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2994, allocations: 51.41 kB / 0.5002 GB, free: 15.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.2996, allocations: 263 kB / 0.5004 GB, free: 15.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.2996, allocations: 25.7 kB / 0.5004 GB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.2996, allocations: 111.4 kB / 0.5005 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2997, allocations: 19.19 kB / 0.5006 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.2997, allocations: 18.09 kB / 0.5006 GB, free: 15.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.2997, allocations: 332 kB / 0.5009 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.2998, allocations: 15.89 kB / 0.5009 GB, free: 15.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.2998, allocations: 22.59 kB / 0.5009 GB, free: 15.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.2999, allocations: 43.86 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2999, allocations: 3.938 kB / 0.501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001369/0.3001, allocations: 89.16 kB / 0.5011 GB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3001, allocations: 9.844 kB / 0.5011 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3001, allocations: 0 / 0.5011 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3001, allocations: 4.922 kB / 0.5011 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.3002, allocations: 9.688 kB / 0.5011 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3002, allocations: 0 / 0.5011 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.3003, allocations: 6.328 kB / 0.5011 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3003, allocations: 2.344 kB / 0.5011 GB, free: 15.1 MB / 382.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 (7): * Single equations (assignments): 7 * 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.237e-05/0.3003, allocations: 140.9 kB / 0.5012 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.3004, allocations: 14.5 kB / 0.5012 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.3004, allocations: 23.61 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3004, allocations: 1.094 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3004, allocations: 0 / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3004, allocations: 5.156 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.393e-05/0.3005, allocations: 202.2 kB / 0.5015 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3005, allocations: 0 / 0.5015 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.3006, allocations: 2.875 kB / 0.5015 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3006, allocations: 1.094 kB / 0.5015 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3006, allocations: 1.062 kB / 0.5015 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3006, allocations: 3.984 kB / 0.5015 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3006, allocations: 5.375 kB / 0.5015 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3007, allocations: 118.2 kB / 0.5016 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.3008, allocations: 88.52 kB / 0.5017 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3008, allocations: 5.062 kB / 0.5017 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.3009, allocations: 2.25 kB / 0.5017 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3009, allocations: 1.156 kB / 0.5017 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3009, allocations: 6.766 kB / 0.5017 GB, free: 14.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.301, allocations: 195.9 kB / 0.5019 GB, free: 14.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3011, allocations: 4 kB / 0.5019 GB, free: 14.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.3013, allocations: 20.89 kB / 0.5019 GB, free: 14.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001567/0.3028, allocations: 0.9599 MB / 0.5028 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.303, allocations: 42.83 kB / 0.5029 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.303, allocations: 0.9688 kB / 0.5029 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.3031, allocations: 18.86 kB / 0.5029 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3033, allocations: 28.36 kB / 0.5029 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3046, allocations: 1.662 MB / 0.5046 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3048, allocations: 0.716 MB / 0.5053 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.3048, allocations: 12.61 kB / 0.5053 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.3049, allocations: 37.33 kB / 0.5053 GB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3049, allocations: 0 / 0.5053 GB, free: 11.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3285, allocations: 3.39 MB / 0.5086 GB, free: 9.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.666, allocations: 17.98 kB / 0.5086 GB, free: 9.332 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.506353896809742]