Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 108.4 kB / 18.35 MB, free: 4.629 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.001471/0.001471, allocations: 187 kB / 19.29 MB, free: 3.699 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.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001139/0.001139, allocations: 51.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07557, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003527/0.07913, allocations: 2.704 MB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.08072, allocations: 1.192 MB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.08085, allocations: 11.94 kB / 332.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.08222, allocations: 0.6262 MB / 333.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.08247, allocations: 127.1 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.08364, allocations: 0.6731 MB / 334.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.08398, allocations: 294.6 kB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.0844, allocations: 278.7 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.08455, allocations: 123.5 kB / 334.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.08475, allocations: 167.4 kB / 334.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.08479, allocations: 24 kB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.08509, allocations: 183.8 kB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.08514, allocations: 59.78 kB / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.08527, allocations: 147.3 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.08575, allocations: 0.4906 MB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08576, allocations: 0 / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08577, allocations: 0 / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.08578, allocations: 4 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00148/0.08727, allocations: 0.7138 MB / 336.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.0873, allocations: 8.031 kB / 336.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.08811, allocations: 124.5 kB / 336.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.08842, allocations: 264.4 kB / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.08845, allocations: 28.97 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.08851, allocations: 36.31 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.08899, allocations: 329 kB / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.08901, allocations: 7.938 kB / 337.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.08905, allocations: 12 kB / 337.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.08906, allocations: 12 kB / 337.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.08945, allocations: 238.5 kB / 337.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.09121, allocations: 1.443 MB / 339 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.0918, allocations: 0.6966 MB / 339.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.09196, allocations: 104.8 kB / 339.8 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.984e-05/0.09206, allocations: 89.05 kB / 339.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.09208, allocations: 38.55 kB / 339.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.09209, allocations: 0 / 339.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001112/0.09321, allocations: 495.3 kB / 340.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.09325, allocations: 51.41 kB / 340.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.0934, allocations: 171.3 kB / 340.6 MB, free: 7.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.09343, allocations: 33.7 kB / 340.7 MB, free: 7.324 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.09352, allocations: 179.9 kB / 340.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.09359, allocations: 82.84 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.09367, allocations: 49.89 kB / 341 MB, free: 7.004 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.09377, allocations: 334.8 kB / 341.3 MB, free: 6.668 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.09389, allocations: 64.55 kB / 341.4 MB, free: 6.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.09403, allocations: 132.1 kB / 341.5 MB, free: 6.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.09431, allocations: 216.1 kB / 341.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.09432, allocations: 0 / 341.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005259/0.09485, allocations: 332.5 kB / 342 MB, free: 5.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.09487, allocations: 8 kB / 342 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.09488, allocations: 0 / 342 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.09518, allocations: 76.97 kB / 342.1 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.09534, allocations: 47.97 kB / 342.2 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.09714, allocations: 2.037 MB / 344.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.09728, allocations: 31.62 kB / 344.2 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.0973, allocations: 8 kB / 344.2 MB, free: 3.539 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.09743, allocations: 149.8 kB / 344.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.09748, allocations: 19.75 kB / 344.4 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.09799, allocations: 276.9 kB / 344.7 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.098, allocations: 0 / 344.7 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.09801, allocations: 7.984 kB / 344.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.09802, allocations: 0 / 344.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.0989, allocations: 0.6982 MB / 345.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.09891, allocations: 4 kB / 345.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.09904, allocations: 23.94 kB / 345.4 MB, free: 2.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.09926, allocations: 72.8 kB / 345.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.09929, allocations: 8 kB / 345.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.101, allocations: 2.033 MB / 347.5 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.101, allocations: 0 / 347.5 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.1016, allocations: 452.5 kB / 348 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.1017, allocations: 112.9 kB / 348.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1017, allocations: 4 kB / 348.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1019, allocations: 4 kB / 348.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1019, allocations: 19.97 kB / 348.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1019, allocations: 4 kB / 348.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.102, allocations: 131.5 kB / 348.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.102, allocations: 0 / 348.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000443/0.1025, allocations: 91.75 kB / 348.3 MB, free: 15.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.1027, allocations: 123.2 kB / 348.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.1033, allocations: 354.4 kB / 348.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1033, allocations: 0 / 348.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1036, allocations: 246.5 kB / 349 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1039, allocations: 15.94 kB / 349 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.1048, allocations: 0.571 MB / 349.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1051, allocations: 0.756 MB / 350.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.038e-05/0.1052, allocations: 21.95 kB / 350.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.1052, allocations: 15.44 kB / 350.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1052, allocations: 288 / 350.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Templates: time 0.005727/0.111, allocations: 2.528 MB / 352.9 MB, free: 10.49 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches