Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 195.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007354/0.0007354, allocations: 97.62 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000199/0.0001992, allocations: 8 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1816, allocations: 51.42 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002036/0.1836, allocations: 2.345 MB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009795/0.1846, allocations: 1.05 MB / 415.5 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1848, allocations: 4.75 kB / 415.5 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1849, allocations: 44.2 kB / 415.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1852, allocations: 96.59 kB / 415.6 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1853, allocations: 87.19 kB / 415.7 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1856, allocations: 334.7 kB / 416 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1857, allocations: 95.7 kB / 416.1 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1859, allocations: 119.5 kB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.186, allocations: 143.2 kB / 416.4 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.1861, allocations: 16 kB / 416.4 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.1861, allocations: 20 kB / 416.4 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1862, allocations: 51.77 kB / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.1863, allocations: 160.9 kB / 416.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1865, allocations: 344.2 kB / 416.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1865, allocations: 4 kB / 416.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1865, allocations: 0 / 416.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1865, allocations: 0 / 416.9 MB, free: 20.96 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.0006915/0.1872, allocations: 0.5536 MB / 417.5 MB, free: 20.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1872, allocations: 8.031 kB / 417.5 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1874, allocations: 48.45 kB / 417.6 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1876, allocations: 268 kB / 417.8 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1876, allocations: 20.94 kB / 417.8 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1877, allocations: 28.38 kB / 417.9 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.1881, allocations: 257.2 kB / 418.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1881, allocations: 0 / 418.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1881, allocations: 12 kB / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1881, allocations: 4 kB / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.1885, allocations: 222.1 kB / 418.3 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1897, allocations: 1.013 MB / 419.4 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.1901, allocations: 202.5 kB / 419.6 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.1903, allocations: 109.2 kB / 419.7 MB, free: 18.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1903, allocations: 4 kB / 419.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1903, allocations: 46.42 kB / 419.7 MB, free: 17.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.273e-06/0.1903, allocations: 0 / 419.7 MB, free: 17.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.004353/0.1947, allocations: 1.552 MB / 421.3 MB, free: 16.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.1947, allocations: 59.34 kB / 421.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1949, allocations: 225 kB / 421.5 MB, free: 16.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.195, allocations: 37.7 kB / 421.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.195, allocations: 180.1 kB / 421.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.1951, allocations: 122.2 kB / 421.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.1951, allocations: 8 kB / 421.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.1952, allocations: 338.8 kB / 422.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.1954, allocations: 108.7 kB / 422.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1956, allocations: 165.5 kB / 422.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.1961, allocations: 279.8 kB / 422.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1961, allocations: 7.938 kB / 422.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001348/0.1975, allocations: 0.5219 MB / 423.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1975, allocations: 5.25 kB / 423.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1975, allocations: 4 kB / 423.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.1988, allocations: 257.4 kB / 423.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.1991, allocations: 63.89 kB / 423.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.2025, allocations: 3.748 MB / 427.4 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2027, allocations: 12.06 kB / 427.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2028, allocations: 12 kB / 427.4 MB, free: 9.883 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.0001089/0.2029, allocations: 145.8 kB / 427.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2029, allocations: 31.61 kB / 427.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.203, allocations: 34.97 kB / 427.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.203, allocations: 11.88 kB / 427.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.203, allocations: 4 kB / 427.6 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.203, allocations: 7.984 kB / 427.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.2048, allocations: 0.9806 MB / 428.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2048, allocations: 3.984 kB / 428.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.205, allocations: 40.05 kB / 428.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.2062, allocations: 257.6 kB / 428.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2063, allocations: 15.98 kB / 428.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.2095, allocations: 3.728 MB / 432.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2095, allocations: 4.062 kB / 432.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.211, allocations: 0.7327 MB / 433.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.2111, allocations: 100.9 kB / 433.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2111, allocations: 11.94 kB / 433.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.2113, allocations: 15.98 kB / 433.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.2114, allocations: 31.89 kB / 433.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2114, allocations: 12 kB / 433.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2116, allocations: 164.5 kB / 433.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2116, allocations: 0 / 433.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004823/0.212, allocations: 108 kB / 433.8 MB, free: 3.059 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 9.947e-05/0.2122, allocations: 107.2 kB / 433.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007786/0.2129, allocations: 0.5668 MB / 434.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.213, allocations: 0 / 434.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.2134, allocations: 430.7 kB / 434.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.2137, allocations: 32.36 kB / 434.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.2146, allocations: 0.872 MB / 435.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2148, allocations: 0.7799 MB / 436.6 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.2149, allocations: 26.28 kB / 436.6 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.215, allocations: 19.44 kB / 436.6 MB, free: 120 kB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.215, allocations: 0 / 436.6 MB, free: 120 kB / 298.7 MB Notification: Performance of Templates: time 0.008464/0.2234, allocations: 5.241 MB / 441.9 MB, free: 10.87 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches