Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001881, allocations: 115.2 kB / 17.08 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 197.3 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.821/2.821, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5108/0.5108, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB 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.003038/0.003038, allocations: 71.91 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.2006, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.005857/0.2065, allocations: 1.845 MB / 0.4904 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.2095, allocations: 0.9014 MB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2097, allocations: 4 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008865/0.2107, allocations: 255.3 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.2115, allocations: 183.4 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.2123, allocations: 143.7 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.2129, allocations: 243.3 kB / 0.4921 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.2131, allocations: 33.52 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.2135, allocations: 127.5 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.214, allocations: 179.5 kB / 0.4924 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.2141, allocations: 8 kB / 0.4924 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.2143, allocations: 43.92 kB / 0.4925 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.2145, allocations: 63.75 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.2147, allocations: 79.31 kB / 0.4926 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.2153, allocations: 223.2 kB / 0.4928 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.2153, allocations: 0 / 0.4928 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2153, allocations: 7.938 kB / 0.4928 GB, free: 7.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.2154, allocations: 0 / 0.4928 GB, free: 7.426 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.005492/0.2209, allocations: 0.5558 MB / 0.4934 GB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.91e-05/0.221, allocations: 15.89 kB / 0.4934 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2211, allocations: 32.56 kB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.2219, allocations: 284 kB / 0.4937 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.2219, allocations: 4.375 kB / 0.4937 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.222, allocations: 16.06 kB / 0.4937 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.2224, allocations: 103.3 kB / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2225, allocations: 0 / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.2225, allocations: 0 / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2225, allocations: 4 kB / 0.4938 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.2228, allocations: 39.97 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.2238, allocations: 456.8 kB / 0.4943 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.2243, allocations: 113.3 kB / 0.4944 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.2245, allocations: 41.7 kB / 0.4944 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.2246, allocations: 4 kB / 0.4944 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.225, allocations: 120.9 kB / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.935e-06/0.225, allocations: 0 / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001636/0.2267, allocations: 375.8 kB / 0.4949 GB, free: 5.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.2268, allocations: 89.05 kB / 0.495 GB, free: 4.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.2277, allocations: 485.6 kB / 0.4954 GB, free: 4.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.2278, allocations: 33.7 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.2279, allocations: 160.3 kB / 0.4956 GB, free: 4.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.2281, allocations: 47.38 kB / 0.4957 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2282, allocations: 37.7 kB / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.2284, allocations: 342.8 kB / 0.496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.2286, allocations: 43.97 kB / 0.4961 GB, free: 3.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.2289, allocations: 71.41 kB / 0.4961 GB, free: 3.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.2293, allocations: 123.4 kB / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2294, allocations: 0 / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006638/0.23, allocations: 189.1 kB / 0.4964 GB, free: 3.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.2301, allocations: 8 kB / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2301, allocations: 0 / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2302, allocations: 0 / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.2304, allocations: 39.92 kB / 0.4965 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.2305, allocations: 3.938 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.2307, allocations: 4 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.2307, allocations: 12 kB / 0.4965 GB, free: 3.355 MB / 382.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 (20): * Single equations (assignments): 20 * 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.0002813/0.231, allocations: 177.7 kB / 0.4967 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.2311, allocations: 31.62 kB / 0.4967 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.2313, allocations: 38.81 kB / 0.4967 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.2313, allocations: 4 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.2313, allocations: 3.938 kB / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2313, allocations: 0 / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/0.237, allocations: 0.6242 MB / 0.4974 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.2371, allocations: 7.922 kB / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2372, allocations: 20.75 kB / 0.4974 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.2373, allocations: 4 kB / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2373, allocations: 0 / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.2373, allocations: 7.984 kB / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2374, allocations: 0 / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.2382, allocations: 368 kB / 0.4977 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.2383, allocations: 108.7 kB / 0.4979 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.2384, allocations: 8 kB / 0.4979 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.2387, allocations: 4 kB / 0.4979 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.2388, allocations: 19.97 kB / 0.4979 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.2389, allocations: 4 kB / 0.4979 GB, free: 1.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008693/0.2398, allocations: 363.1 kB / 0.4982 GB, free: 1.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2398, allocations: 0 / 0.4982 GB, free: 1.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006396/0.2404, allocations: 39.98 kB / 0.4983 GB, free: 1.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001969/0.2424, allocations: 479.4 kB / 0.4987 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.2431, allocations: 119.9 kB / 0.4988 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2431, allocations: 0 / 0.4988 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.2434, allocations: 59.91 kB / 0.4989 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.2445, allocations: 61.19 kB / 0.499 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.246, allocations: 0.5631 MB / 0.4995 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.2468, allocations: 0.7749 MB / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2469, allocations: 23.44 kB / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2469, allocations: 0 / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01625/0.2632, allocations: 3.436 MB / 0.5036 GB, free: 11.9 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches