Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.38 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.0861, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00401/0.09014, allocations: 2.758 MB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.09179, allocations: 0.9501 MB / 362.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.09206, allocations: 4 kB / 362.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.09237, allocations: 59.44 kB / 362.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.09276, allocations: 107.2 kB / 362.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.09312, allocations: 111.8 kB / 362.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.09351, allocations: 358.6 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.09374, allocations: 109.7 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.09398, allocations: 147.4 kB / 363.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.0942, allocations: 147.3 kB / 363.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.09425, allocations: 32 kB / 363.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.09434, allocations: 35.98 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.0944, allocations: 67.7 kB / 363.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.09456, allocations: 159.2 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.09495, allocations: 366.7 kB / 364.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.09496, allocations: 4 kB / 364.3 MB, free: 7.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.09497, allocations: 3.938 kB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.09499, allocations: 0 / 364.3 MB, free: 7.941 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001019/0.09601, allocations: 0.6158 MB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.09606, allocations: 8.031 kB / 364.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.09626, allocations: 44.56 kB / 365 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.0966, allocations: 264.7 kB / 365.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.09663, allocations: 20.94 kB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.09668, allocations: 24.38 kB / 365.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.09711, allocations: 249.2 kB / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.09713, allocations: 0 / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.09716, allocations: 12 kB / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.09718, allocations: 8 kB / 365.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.09758, allocations: 214.1 kB / 365.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.09899, allocations: 1.001 MB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.09942, allocations: 198.5 kB / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.09966, allocations: 117.3 kB / 367 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.0997, allocations: 4 kB / 367 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.09974, allocations: 42.42 kB / 367.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.09975, allocations: 0 / 367.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.004726/0.1045, allocations: 1.548 MB / 368.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1045, allocations: 59.34 kB / 368.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1047, allocations: 233 kB / 368.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1048, allocations: 29.7 kB / 368.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1049, allocations: 184.1 kB / 369.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.105, allocations: 126.3 kB / 369.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1051, allocations: 69.97 kB / 369.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1052, allocations: 334.8 kB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1054, allocations: 108.7 kB / 369.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1057, allocations: 157.7 kB / 369.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.1061, allocations: 287.8 kB / 370.2 MB, free: 1.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1062, allocations: 0 / 370.2 MB, free: 1.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001462/0.1076, allocations: 0.5295 MB / 370.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1077, allocations: 8 kB / 370.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1077, allocations: 0 / 370.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.1089, allocations: 253.4 kB / 371 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1091, allocations: 55.91 kB / 371 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1614/0.2706, allocations: 4.129 MB / 375.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2709, allocations: 17.53 kB / 375.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.2709, allocations: 8.719 kB / 375.2 MB, free: 17.28 MB / 302.1 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.0001512/0.271, allocations: 154.5 kB / 375.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.2711, allocations: 29.41 kB / 375.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.2712, allocations: 41.62 kB / 375.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2712, allocations: 4.359 kB / 375.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.2712, allocations: 1.844 kB / 375.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2712, allocations: 6.266 kB / 375.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.2733, allocations: 0.9859 MB / 376.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2733, allocations: 1.312 kB / 376.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2735, allocations: 42.92 kB / 376.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.2747, allocations: 241 kB / 376.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2747, allocations: 6.25 kB / 376.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.2786, allocations: 4.132 MB / 380.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2786, allocations: 1.375 kB / 380.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.2803, allocations: 0.7258 MB / 381.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2804, allocations: 101.9 kB / 381.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.2804, allocations: 11.53 kB / 381.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.2807, allocations: 13.3 kB / 381.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.2808, allocations: 28.17 kB / 381.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.2808, allocations: 18.61 kB / 381.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2809, allocations: 165.9 kB / 381.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2809, allocations: 0 / 381.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006158/0.2816, allocations: 104.8 kB / 382 MB, free: 12.31 MB / 302.1 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.0001175/0.2817, allocations: 108.5 kB / 382.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009275/0.2826, allocations: 0.5588 MB / 382.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2826, allocations: 0 / 382.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.2831, allocations: 435.7 kB / 383.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2835, allocations: 26.22 kB / 383.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2846, allocations: 0.702 MB / 383.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2849, allocations: 0.7799 MB / 384.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.567e-05/0.2849, allocations: 19.59 kB / 384.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.285, allocations: 19.23 kB / 384.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.285, allocations: 4 kB / 384.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Templates: time 0.009749/0.2948, allocations: 5.435 MB / 390.1 MB, free: 9.531 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches