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.001419/0.001419, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2335, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004348/0.2379, allocations: 2.846 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.24, allocations: 1.195 MB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.2403, allocations: 11.94 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.2419, allocations: 0.6259 MB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.2424, allocations: 131.1 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.2437, allocations: 0.6499 MB / 415.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.2442, allocations: 294.6 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.2448, allocations: 274.6 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.2451, allocations: 147.4 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2453, allocations: 163.4 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.2454, allocations: 24 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.2458, allocations: 183.8 kB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.2459, allocations: 67.7 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.246, allocations: 147.3 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.2467, allocations: 0.4958 MB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2467, allocations: 0 / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2467, allocations: 0 / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2467, allocations: 0 / 417.2 MB, free: 10.32 MB / 334.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.001786/0.2485, allocations: 0.7177 MB / 417.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2486, allocations: 16.03 kB / 417.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008775/0.2495, allocations: 112.5 kB / 418 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.2499, allocations: 268.4 kB / 418.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.2499, allocations: 29.03 kB / 418.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.25, allocations: 28.38 kB / 418.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.2506, allocations: 341 kB / 418.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2506, allocations: 4 kB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2507, allocations: 8 kB / 418.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2507, allocations: 8 kB / 418.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.2511, allocations: 246.5 kB / 418.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.2532, allocations: 1.435 MB / 420.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/0.254, allocations: 0.6955 MB / 421 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.2542, allocations: 112.5 kB / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.2544, allocations: 170.1 kB / 421.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2544, allocations: 38.55 kB / 421.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.2544, allocations: 4 kB / 421.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00128/0.2557, allocations: 494.6 kB / 421.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2558, allocations: 55.41 kB / 421.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.256, allocations: 171.3 kB / 422.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.256, allocations: 29.7 kB / 422.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2561, allocations: 172 kB / 422.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.2562, allocations: 90.73 kB / 422.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.2563, allocations: 57.89 kB / 422.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2564, allocations: 330.8 kB / 422.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.2565, allocations: 64.55 kB / 422.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2567, allocations: 133 kB / 422.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.257, allocations: 216.9 kB / 423.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.257, allocations: 4 kB / 423.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005914/0.2576, allocations: 339.4 kB / 423.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.2577, allocations: 4 kB / 423.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2577, allocations: 7.938 kB / 423.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.258, allocations: 73.03 kB / 423.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2582, allocations: 47.91 kB / 423.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.2603, allocations: 2.018 MB / 425.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2605, allocations: 31.72 kB / 425.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2605, allocations: 12.06 kB / 425.7 MB, free: 1.145 MB / 334.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.0001658/0.2607, allocations: 145.8 kB / 425.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.2608, allocations: 19.75 kB / 425.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.2613, allocations: 284.1 kB / 426.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2614, allocations: 4 kB / 426.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2614, allocations: 4.281 kB / 426.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2614, allocations: 3.984 kB / 426.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.2624, allocations: 0.6825 MB / 426.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2624, allocations: 3.938 kB / 426.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.2625, allocations: 24 kB / 426.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.2628, allocations: 80.73 kB / 426.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2628, allocations: 4 kB / 426.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.2648, allocations: 2.026 MB / 428.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2648, allocations: 0 / 428.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.2655, allocations: 458.7 kB / 429.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2656, allocations: 108.9 kB / 429.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.2656, allocations: 4 kB / 429.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2658, allocations: 7.938 kB / 429.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.2658, allocations: 23.97 kB / 429.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2658, allocations: 4.062 kB / 429.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.2659, allocations: 127.5 kB / 429.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2659, allocations: 0 / 429.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.2665, allocations: 95.69 kB / 429.7 MB, free: 12.8 MB / 350.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.0002502/0.2667, allocations: 135.2 kB / 429.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006338/0.2674, allocations: 358.2 kB / 430.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2674, allocations: 0 / 430.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.2677, allocations: 251.1 kB / 430.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.2681, allocations: 20 kB / 430.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2691, allocations: 0.5925 MB / 431.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.2695, allocations: 0.756 MB / 431.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.2696, allocations: 19.44 kB / 431.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2696, allocations: 4 kB / 431.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Templates: time 0.006628/0.2762, allocations: 4.032 MB / 435.9 MB, free: 6.555 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/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