Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 98.91 kB / 16.93 MB, free: 5.871 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.001717/0.001717, allocations: 183.3 kB / 17.86 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 223.7 MB, free: 12.27 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.2142/0.2142, allocations: 43.51 MB / 314.6 MB, free: 0.5312 MB / 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.002664/0.002664, allocations: 74.25 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08223/0.08491, allocations: 57.78 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00259/0.08755, allocations: 1.553 MB / 442.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.08805, allocations: 311.5 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.08812, allocations: 0 / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.08835, allocations: 79.72 kB / 443.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.08853, allocations: 63.8 kB / 443.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.08873, allocations: 67.78 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.08884, allocations: 55.91 kB / 443.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.08893, allocations: 23.91 kB / 443.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.08898, allocations: 23.92 kB / 443.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.08906, allocations: 51.77 kB / 443.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.08908, allocations: 0 / 443.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.08915, allocations: 31.98 kB / 443.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.08921, allocations: 19.94 kB / 443.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.08924, allocations: 27.8 kB / 443.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.08937, allocations: 83.72 kB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.08938, allocations: 0 / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08938, allocations: 0 / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.08939, allocations: 0 / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003169/0.08971, allocations: 387.1 kB / 443.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.08975, allocations: 15.89 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.08979, allocations: 8.844 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.08991, allocations: 198.1 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.08993, allocations: 8.375 kB / 444.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.08995, allocations: 4.375 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.09006, allocations: 49.81 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.09008, allocations: 0 / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.0901, allocations: 3.938 kB / 444.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.09011, allocations: 0 / 444.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.09019, allocations: 23.97 kB / 444.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.09043, allocations: 288.7 kB / 444.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.09061, allocations: 46.56 kB / 444.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.09066, allocations: 8.953 kB / 444.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.09069, allocations: 7.969 kB / 444.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-06/0.0907, allocations: 34.56 kB / 444.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.09071, allocations: 7.938 kB / 444.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004558/0.09117, allocations: 141.2 kB / 444.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.0912, allocations: 55.41 kB / 444.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.09133, allocations: 190.1 kB / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.09134, allocations: 29.7 kB / 445 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.09138, allocations: 100 kB / 445.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.0914, allocations: 19.8 kB / 445.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.09143, allocations: 17.72 kB / 445.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.09147, allocations: 322.8 kB / 445.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.09154, allocations: 19.98 kB / 445.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.0916, allocations: 19.92 kB / 445.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.09171, allocations: 45.03 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.09172, allocations: 4 kB / 445.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.09188, allocations: 81.56 kB / 445.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.0919, allocations: 8 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.09191, allocations: 0 / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.09192, allocations: 0 / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.09198, allocations: 8 kB / 445.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.09199, allocations: 3.984 kB / 445.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.09203, allocations: 4 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.09205, allocations: 11.94 kB / 445.7 MB, free: 2.172 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.5e-05/0.09211, allocations: 133.7 kB / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.09214, allocations: 7.906 kB / 445.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.09233, allocations: 85.97 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.09235, allocations: 0 / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.09235, allocations: 0 / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.09236, allocations: 0 / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.09267, allocations: 366.3 kB / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.09268, allocations: 0 / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.09273, allocations: 8 kB / 446.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.664e-06/0.09274, allocations: 4 kB / 446.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.09275, allocations: 192 / 446.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.09276, allocations: 7.938 kB / 446.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.09276, allocations: 3.984 kB / 446.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.09294, allocations: 187.3 kB / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.09297, allocations: 85.02 kB / 446.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.09299, allocations: 4 kB / 446.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.09307, allocations: 11.92 kB / 446.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.0931, allocations: 0 / 446.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.09311, allocations: 4 kB / 446.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.228e-05/0.09321, allocations: 143.2 kB / 446.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09322, allocations: 4 kB / 446.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.09346, allocations: 19.94 kB / 446.7 MB, free: 1.016 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008038/0.09427, allocations: 406.4 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.09445, allocations: 47.91 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.09447, allocations: 3.938 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.09454, allocations: 23.98 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.09486, allocations: 15.98 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.09518, allocations: 227.7 kB / 447.4 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.09541, allocations: 0.708 MB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.09545, allocations: 11.44 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09545, allocations: 3.938 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.002921/0.09838, allocations: 1.445 MB / 449.6 MB, free: 14.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches