Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 98.3 kB / 17.01 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 194.7 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001999/0.0002001, allocations: 4 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08798, allocations: 51.52 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002811/0.09084, allocations: 2.384 MB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.09255, allocations: 1.091 MB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.09271, allocations: 8 kB / 362.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.09306, allocations: 95.52 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.09338, allocations: 111.3 kB / 362.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.09441, allocations: 0.5297 MB / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.09474, allocations: 278.6 kB / 363.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008824/0.09563, allocations: 0.5298 MB / 363.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.09579, allocations: 103.6 kB / 363.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.09597, allocations: 135.5 kB / 363.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.096, allocations: 16 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.09629, allocations: 163.8 kB / 364.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.09634, allocations: 51.77 kB / 364.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.09641, allocations: 73.58 kB / 364.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.09682, allocations: 371.3 kB / 364.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.09683, allocations: 4 kB / 364.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09684, allocations: 0 / 364.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09685, allocations: 0 / 364.6 MB, free: 7.461 MB / 302.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.001415/0.09827, allocations: 0.6746 MB / 365.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.09831, allocations: 12.03 kB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007652/0.09909, allocations: 123.5 kB / 365.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.09936, allocations: 251.3 kB / 365.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.09939, allocations: 24.66 kB / 365.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.09944, allocations: 32 kB / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.09994, allocations: 333 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.09996, allocations: 4 kB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.1, allocations: 12 kB / 366 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1, allocations: 8 kB / 366 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.1004, allocations: 242.5 kB / 366.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1022, allocations: 1.447 MB / 367.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.1029, allocations: 0.7067 MB / 368.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.103, allocations: 104.8 kB / 368.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.1032, allocations: 166.2 kB / 368.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1032, allocations: 34.97 kB / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.1032, allocations: 0 / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001137/0.1044, allocations: 0.4944 MB / 369.2 MB, free: 2.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1044, allocations: 51.41 kB / 369.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1046, allocations: 173.2 kB / 369.4 MB, free: 2.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1046, allocations: 29.7 kB / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.1047, allocations: 191.8 kB / 369.6 MB, free: 1.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1048, allocations: 74.91 kB / 369.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.1048, allocations: 8 kB / 369.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.1049, allocations: 330.8 kB / 370 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.105, allocations: 68.55 kB / 370.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1051, allocations: 129 kB / 370.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1053, allocations: 81.17 kB / 370.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1053, allocations: 4 kB / 370.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005199/0.1058, allocations: 325.5 kB / 370.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1058, allocations: 4 kB / 370.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1059, allocations: 8.219 kB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.1061, allocations: 76.73 kB / 370.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1063, allocations: 39.98 kB / 370.8 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1564/0.2627, allocations: 1.83 MB / 372.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2629, allocations: 28.67 kB / 372.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2629, allocations: 9.031 kB / 372.6 MB, free: 17.81 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.2631, allocations: 147.8 kB / 372.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.2631, allocations: 22.06 kB / 372.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.2637, allocations: 282.2 kB / 373.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2637, allocations: 6.516 kB / 373.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2637, allocations: 2.375 kB / 373.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2638, allocations: 4.891 kB / 373.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2648, allocations: 0.6842 MB / 373.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2648, allocations: 2.328 kB / 373.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.265, allocations: 23.94 kB / 373.8 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002613/0.2652, allocations: 78.23 kB / 373.9 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2653, allocations: 3.906 kB / 373.9 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.2669, allocations: 1.83 MB / 375.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2669, allocations: 2.062 kB / 375.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.2675, allocations: 454.2 kB / 376.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.2676, allocations: 110.9 kB / 376.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.2677, allocations: 8.828 kB / 376.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2678, allocations: 4.375 kB / 376.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.2678, allocations: 18.44 kB / 376.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2679, allocations: 12.16 kB / 376.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.268, allocations: 125.9 kB / 376.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.268, allocations: 1.156 kB / 376.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005276/0.2685, allocations: 108 kB / 376.5 MB, free: 15.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.2687, allocations: 123.5 kB / 376.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.2693, allocations: 344.7 kB / 377 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2693, allocations: 1.625 kB / 377 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.2696, allocations: 243.2 kB / 377.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.27, allocations: 26.58 kB / 377.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.271, allocations: 0.7104 MB / 378 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2712, allocations: 0.7546 MB / 378.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2714, allocations: 24 kB / 378.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.2714, allocations: 16.06 kB / 378.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2714, allocations: 0 / 378.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006762/0.2782, allocations: 2.48 MB / 381.2 MB, free: 13.77 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches