Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009721/0.0009721, allocations: 190.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 226.6 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000753/0.0007528, allocations: 102.3 kB / 296.8 MB, free: 6.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002139, allocations: 4 kB / 356.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1914, allocations: 51.3 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.001996/0.1934, allocations: 2.336 MB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000899/0.1943, allocations: 0.824 MB / 411.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1944, allocations: 4 kB / 411.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.1946, allocations: 35.7 kB / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1948, allocations: 92.2 kB / 411.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.195, allocations: 74.02 kB / 411.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.1952, allocations: 314.7 kB / 411.7 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1954, allocations: 92.66 kB / 411.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1956, allocations: 127.5 kB / 411.9 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1957, allocations: 123.5 kB / 412.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1957, allocations: 19.98 kB / 412.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.1958, allocations: 23.94 kB / 412.1 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.1958, allocations: 54.64 kB / 412.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.1959, allocations: 153 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1961, allocations: 264.2 kB / 412.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1961, allocations: 0 / 412.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1961, allocations: 0 / 412.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1961, allocations: 0 / 412.6 MB, free: 23.21 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.0006991/0.1968, allocations: 0.5614 MB / 413.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1969, allocations: 8.031 kB / 413.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.197, allocations: 52.45 kB / 413.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1972, allocations: 263.4 kB / 413.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1973, allocations: 20.94 kB / 413.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1973, allocations: 24.38 kB / 413.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.1977, allocations: 257.2 kB / 413.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1977, allocations: 0 / 413.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1978, allocations: 12 kB / 413.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1978, allocations: 11.94 kB / 413.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.1982, allocations: 214.1 kB / 414 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1994, allocations: 1.013 MB / 415 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.1998, allocations: 206.4 kB / 415.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.2, allocations: 114.8 kB / 415.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2, allocations: 4.062 kB / 415.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2, allocations: 42.42 kB / 415.3 MB, free: 20.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.2, allocations: 0 / 415.3 MB, free: 20.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00449/0.2045, allocations: 1.546 MB / 416.9 MB, free: 18.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2046, allocations: 63.34 kB / 416.9 MB, free: 18.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2047, allocations: 221 kB / 417.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2048, allocations: 37.64 kB / 417.2 MB, free: 18.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.2048, allocations: 184.1 kB / 417.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.2049, allocations: 118.2 kB / 417.5 MB, free: 17.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.2049, allocations: 12 kB / 417.5 MB, free: 17.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.205, allocations: 334.8 kB / 417.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2052, allocations: 108.7 kB / 417.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2054, allocations: 169.4 kB / 418.1 MB, free: 17.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.2058, allocations: 279.8 kB / 418.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2059, allocations: 0 / 418.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001389/0.2072, allocations: 0.5297 MB / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2073, allocations: 8 kB / 418.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2073, allocations: 0 / 418.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.2086, allocations: 253.4 kB / 419.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.2089, allocations: 59.91 kB / 419.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.2124, allocations: 3.757 MB / 423 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2126, allocations: 11.98 kB / 423 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2126, allocations: 16 kB / 423 MB, free: 12.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.2127, allocations: 159.3 kB / 423.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.2128, allocations: 27.62 kB / 423.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.806e-05/0.2129, allocations: 42.95 kB / 423.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2129, allocations: 7.938 kB / 423.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2129, allocations: 4 kB / 423.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.2129, allocations: 3.984 kB / 423.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.2147, allocations: 0.9828 MB / 424.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2147, allocations: 0 / 424.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.2149, allocations: 39.97 kB / 424.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.2162, allocations: 261.4 kB / 424.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.2163, allocations: 8 kB / 424.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.2195, allocations: 3.729 MB / 428.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2195, allocations: 480 / 428.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2211, allocations: 0.741 MB / 429 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2212, allocations: 104.8 kB / 429.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.2212, allocations: 11.94 kB / 429.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.2214, allocations: 15.98 kB / 429.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.2215, allocations: 36.02 kB / 429.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.2215, allocations: 8 kB / 429.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.2216, allocations: 164.5 kB / 429.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2216, allocations: 0 / 429.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005227/0.2222, allocations: 100 kB / 429.4 MB, free: 5.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 9.991e-05/0.2223, allocations: 111.2 kB / 429.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.223, allocations: 0.5554 MB / 430.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2231, allocations: 4 kB / 430.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.2235, allocations: 433.5 kB / 430.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.2238, allocations: 32.36 kB / 430.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.2248, allocations: 0.8622 MB / 431.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.225, allocations: 0.7838 MB / 432.2 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.225, allocations: 23.44 kB / 432.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.225, allocations: 0 / 432.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of Templates: time 0.006563/0.2316, allocations: 5.954 MB / 438.2 MB, free: 12.42 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches