Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 104.7 kB / 18.44 MB, free: 4.648 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.00118/0.00118, allocations: 183.1 kB / 19.37 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3129, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002701/0.3156, allocations: 1.563 MB / 0.5211 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.3163, allocations: 408.4 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.3163, allocations: 5.062 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.3165, allocations: 22.81 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.3167, allocations: 35.22 kB / 0.5216 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.317, allocations: 119 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3171, allocations: 51.47 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.3172, allocations: 13.3 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.3173, allocations: 25.16 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.3173, allocations: 25.16 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3174, allocations: 2.062 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.3174, allocations: 34.92 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.3175, allocations: 14.67 kB / 0.5218 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.3175, allocations: 16.39 kB / 0.5218 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3177, allocations: 79.09 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3177, allocations: 1.094 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3177, allocations: 0 / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3177, allocations: 0 / 0.5219 GB, free: 2.047 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003556/0.3181, allocations: 384.6 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.3181, allocations: 9.156 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3181, allocations: 5.391 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3183, allocations: 190.2 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3183, allocations: 1.594 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3183, allocations: 6.781 kB / 0.5225 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.3184, allocations: 49.77 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3185, allocations: 0.6094 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.3185, allocations: 5.156 kB / 0.5225 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.3185, allocations: 0 / 0.5225 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.3186, allocations: 27.61 kB / 0.5226 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.3189, allocations: 277.1 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3191, allocations: 46.22 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.3191, allocations: 17.53 kB / 0.5229 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3191, allocations: 2.031 kB / 0.5229 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3192, allocations: 39.44 kB / 0.5229 GB, free: 1.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3192, allocations: 0 / 0.5229 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005064/0.3197, allocations: 143.6 kB / 0.5231 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3197, allocations: 60.94 kB / 0.5231 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3198, allocations: 159.4 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.3199, allocations: 25.7 kB / 0.5233 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.3199, allocations: 102.1 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.3199, allocations: 15.62 kB / 0.5234 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.32, allocations: 15.36 kB / 0.5234 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.32, allocations: 322.9 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.3201, allocations: 21.47 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.3201, allocations: 24.47 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3203, allocations: 56.27 kB / 0.5238 GB, free: 268 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3203, allocations: 0 / 0.5238 GB, free: 268 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.3205, allocations: 85.5 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3205, allocations: 4.656 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3205, allocations: 5.859 kB / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3205, allocations: 0 / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.3206, allocations: 16.59 kB / 0.5239 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3206, allocations: 0 / 0.5239 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.3206, allocations: 9.031 kB / 0.524 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3206, allocations: 5.094 kB / 0.524 GB, free: 204 kB / 382.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.531e-05/0.3207, allocations: 118.4 kB / 0.5241 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3207, allocations: 7.562 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3209, allocations: 98.81 kB / 0.5242 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.321, allocations: 9.844 kB / 0.5242 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.321, allocations: 3.938 kB / 0.5242 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.321, allocations: 0 / 0.5242 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.3214, allocations: 350.5 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3214, allocations: 0 / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.3215, allocations: 17.34 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3215, allocations: 0 / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3215, allocations: 1.469 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3215, allocations: 8.125 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3215, allocations: 4.75 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3217, allocations: 181.5 kB / 0.5247 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3218, allocations: 83.06 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3218, allocations: 1.781 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.3219, allocations: 12.09 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3219, allocations: 12.77 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3219, allocations: 1.094 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.253e-05/0.322, allocations: 118.5 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.322, allocations: 0 / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.3223, allocations: 18.8 kB / 0.525 GB, free: 15.31 MB / 398.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.0008443/0.3231, allocations: 393.9 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3233, allocations: 61.81 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3234, allocations: 0 / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.684e-05/0.3234, allocations: 25.77 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3237, allocations: 17.47 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.3241, allocations: 205.9 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3244, allocations: 0.6968 MB / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.3244, allocations: 18.23 kB / 0.5263 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3244, allocations: 0 / 0.5263 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.003316/0.3277, allocations: 1.441 MB / 0.5277 GB, free: 13.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches