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) 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 109 kB / 17.08 MB, free: 5.988 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.002249/0.002249, allocations: 194.4 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 3.262/3.262, 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.4267/0.4267, 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.002892/0.002892, allocations: 71.91 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2203, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.006145/0.2266, allocations: 1.643 MB / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.2289, allocations: 0.7845 MB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.2292, allocations: 3.938 kB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.2298, allocations: 59.73 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.2303, allocations: 55.77 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2307, allocations: 87.75 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.231, allocations: 91.7 kB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.2311, allocations: 7.984 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2313, allocations: 43.77 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2315, allocations: 27.8 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.2315, allocations: 8 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.2317, allocations: 31.98 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.2318, allocations: 23.91 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.2319, allocations: 39.67 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2322, allocations: 119.6 kB / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2323, allocations: 0 / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2323, allocations: 0 / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.2323, allocations: 0 / 0.4916 GB, free: 8.695 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.0009471/0.2333, allocations: 442.1 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.2333, allocations: 11.89 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.2334, allocations: 16.84 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.234, allocations: 219.7 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.234, allocations: 384 / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.2341, allocations: 8.125 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2343, allocations: 45.67 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2343, allocations: 0 / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.2344, allocations: 0 / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2344, allocations: 4 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2346, allocations: 15.98 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.2349, allocations: 197.6 kB / 0.4925 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.2352, allocations: 46.62 kB / 0.4925 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2354, allocations: 24.78 kB / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.2354, allocations: 0 / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.2357, allocations: 75.3 kB / 0.4926 GB, free: 7.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 7.074e-06/0.2357, allocations: 0 / 0.4926 GB, free: 7.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005324/0.2363, allocations: 97.45 kB / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.2363, allocations: 55.41 kB / 0.4928 GB, free: 7.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.2368, allocations: 258.5 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2368, allocations: 25.7 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.237, allocations: 112.1 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.237, allocations: 15.75 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.2371, allocations: 25.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2373, allocations: 326.8 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.2374, allocations: 12 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.2375, allocations: 33.64 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2377, allocations: 45.64 kB / 0.4936 GB, free: 6.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2377, allocations: 4 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002779/0.238, allocations: 85.69 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.238, allocations: 11.94 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.238, allocations: 64 / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.2381, allocations: 4 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2382, allocations: 11.98 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.2382, allocations: 4 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.2383, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2383, allocations: 4 kB / 0.4937 GB, free: 6.262 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 0.0001943/0.2385, allocations: 145.5 kB / 0.4938 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.2386, allocations: 15.81 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.2387, allocations: 21.14 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2387, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2387, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2387, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.239, allocations: 197.6 kB / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.239, allocations: 0 / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.239, allocations: 4 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.239, allocations: 0 / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2391, allocations: 4 kB / 0.4941 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2391, allocations: 7.938 kB / 0.4941 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.2391, allocations: 3.984 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.2394, allocations: 116.9 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.2395, allocations: 89.02 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.2396, allocations: 3.984 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.2396, allocations: 7.938 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.2397, allocations: 0 / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2397, allocations: 8 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.24, allocations: 200.5 kB / 0.4945 GB, free: 5.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.24, allocations: 0 / 0.4945 GB, free: 5.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.2404, allocations: 12 kB / 0.4945 GB, free: 5.348 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.001786/0.2422, allocations: 412.3 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.2425, allocations: 39.92 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2426, allocations: 0 / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2427, allocations: 24.05 kB / 0.495 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.2432, allocations: 39.53 kB / 0.495 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.2441, allocations: 300.2 kB / 0.4953 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.2447, allocations: 0.708 MB / 0.496 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.2448, allocations: 19.44 kB / 0.496 GB, free: 3.797 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2448, allocations: 0 / 0.496 GB, free: 3.797 MB / 382.1 MB Notification: Performance of Templates: time 0.006918/0.2517, allocations: 1.844 MB / 0.4978 GB, free: 1.953 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches