Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.1 MB / 223.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009705/0.0009704, allocations: 94.05 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008779/0.0008782, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2049, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003682/0.2086, allocations: 2.712 MB / 376.5 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2099, allocations: 0.8901 MB / 377.4 MB, free: 43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2102, allocations: 4.531 kB / 377.4 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.2105, allocations: 49.78 kB / 377.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.2108, allocations: 95 kB / 377.6 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.211, allocations: 79.84 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.2113, allocations: 338.1 kB / 378 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.2115, allocations: 99.27 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2117, allocations: 126 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2119, allocations: 141.4 kB / 378.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.2119, allocations: 22.47 kB / 378.4 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.988e-05/0.212, allocations: 19.44 kB / 378.4 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.212, allocations: 56.92 kB / 378.4 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2122, allocations: 157.1 kB / 378.6 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2124, allocations: 342.1 kB / 378.9 MB, free: 41.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2124, allocations: 0 / 378.9 MB, free: 41.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2124, allocations: 1.125 kB / 378.9 MB, free: 41.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2124, allocations: 0 / 378.9 MB, free: 41.99 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00085/0.2133, allocations: 0.5996 MB / 379.5 MB, free: 41.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2133, allocations: 9.719 kB / 379.5 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.2134, allocations: 32.31 kB / 379.6 MB, free: 41.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2137, allocations: 265.3 kB / 379.8 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2137, allocations: 24.47 kB / 379.8 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.2137, allocations: 28.97 kB / 379.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.2141, allocations: 253.8 kB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2142, allocations: 0 / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.2142, allocations: 10.84 kB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.2142, allocations: 7.188 kB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.2146, allocations: 210.4 kB / 380.3 MB, free: 40.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2159, allocations: 1.002 MB / 381.3 MB, free: 40.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.2163, allocations: 209.8 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.2165, allocations: 112.6 kB / 381.7 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2166, allocations: 3.125 kB / 381.7 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2166, allocations: 31.69 kB / 381.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.212e-06/0.2166, allocations: 0 / 381.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.004454/0.2211, allocations: 1.547 MB / 383.2 MB, free: 38.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.2211, allocations: 63.62 kB / 383.3 MB, free: 38.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2213, allocations: 228.4 kB / 383.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2213, allocations: 30.83 kB / 383.6 MB, free: 38.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.2214, allocations: 187.4 kB / 383.7 MB, free: 38.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.2215, allocations: 116.6 kB / 383.8 MB, free: 38.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.2216, allocations: 66.06 kB / 383.9 MB, free: 38.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.2216, allocations: 332.5 kB / 384.2 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.2219, allocations: 112.2 kB / 384.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.2221, allocations: 163.7 kB / 384.5 MB, free: 37.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.2226, allocations: 288 kB / 384.8 MB, free: 37.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2226, allocations: 0 / 384.8 MB, free: 37.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0014/0.224, allocations: 0.5393 MB / 385.3 MB, free: 37.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.224, allocations: 5.812 kB / 385.3 MB, free: 37.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.224, allocations: 5.125 kB / 385.3 MB, free: 37.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.2252, allocations: 247.8 kB / 385.6 MB, free: 37.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2254, allocations: 52.09 kB / 385.6 MB, free: 37.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.2288, allocations: 3.73 MB / 389.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2291, allocations: 11.98 kB / 389.4 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2291, allocations: 16.06 kB / 389.4 MB, free: 33.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.2292, allocations: 146.7 kB / 389.5 MB, free: 33.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.2293, allocations: 23.72 kB / 389.6 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/0.2293, allocations: 42.95 kB / 389.6 MB, free: 33.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2293, allocations: 7.938 kB / 389.6 MB, free: 33.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2294, allocations: 0 / 389.6 MB, free: 33.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2294, allocations: 4 kB / 389.6 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.2311, allocations: 0.9958 MB / 390.6 MB, free: 31.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.2311, allocations: 0 / 390.6 MB, free: 31.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.2313, allocations: 39.97 kB / 390.6 MB, free: 31.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.2323, allocations: 245.4 kB / 390.9 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2323, allocations: 12 kB / 390.9 MB, free: 31.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.2354, allocations: 3.721 MB / 394.6 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2354, allocations: 96 / 394.6 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.2486, allocations: 8.129 MB / 402.7 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.2487, allocations: 100.8 kB / 402.8 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.2487, allocations: 8 kB / 402.9 MB, free: 19.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.249, allocations: 15.94 kB / 402.9 MB, free: 18.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.2491, allocations: 27.95 kB / 402.9 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2491, allocations: 12 kB / 402.9 MB, free: 18.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2492, allocations: 164.5 kB / 403.1 MB, free: 18.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 0 / 403.1 MB, free: 18.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007785/0.25, allocations: 156.1 kB / 403.2 MB, free: 18.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001468/0.2501, allocations: 103.2 kB / 403.3 MB, free: 18.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2512, allocations: 0.5633 MB / 403.9 MB, free: 17.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2512, allocations: 3.938 kB / 403.9 MB, free: 17.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.2517, allocations: 421.2 kB / 404.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.2522, allocations: 21.09 kB / 404.3 MB, free: 17.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.2541, allocations: 1.396 MB / 405.7 MB, free: 16.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2544, allocations: 0.7962 MB / 406.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.2545, allocations: 18.23 kB / 406.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.2545, allocations: 19.44 kB / 406.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.2545, allocations: 0 / 406.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Templates: time 0.01109/0.2656, allocations: 8.219 MB / 414.8 MB, free: 6.949 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches