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.001156/0.001156, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 64.14 kB / 306.3 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.08908, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004083/0.09319, allocations: 2.805 MB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.09483, allocations: 0.9424 MB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.095, allocations: 7.938 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.09525, allocations: 51.67 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.0955, allocations: 87.38 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.09576, allocations: 99.84 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.09607, allocations: 334.7 kB / 361.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.09627, allocations: 90.25 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.09647, allocations: 135.5 kB / 361.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.09666, allocations: 147.3 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.09671, allocations: 16 kB / 361.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.09678, allocations: 24 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.09684, allocations: 63.75 kB / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.097, allocations: 151.2 kB / 361.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.09733, allocations: 350.9 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09734, allocations: 0 / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09735, allocations: 0 / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.09736, allocations: 0 / 362.1 MB, free: 9.215 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.001041/0.09841, allocations: 0.6158 MB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.09846, allocations: 12.03 kB / 362.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.09863, allocations: 36.56 kB / 362.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.09893, allocations: 260.7 kB / 363 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.09897, allocations: 20.94 kB / 363 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.09902, allocations: 24.38 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.09951, allocations: 253.2 kB / 363.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.09953, allocations: 0 / 363.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.09957, allocations: 16 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.09958, allocations: 8 kB / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1, allocations: 210.1 kB / 363.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1016, allocations: 1.009 MB / 364.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.102, allocations: 213.3 kB / 364.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.1023, allocations: 113.2 kB / 364.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.1023, allocations: 8.062 kB / 364.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1023, allocations: 38.42 kB / 364.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.392e-06/0.1024, allocations: 0 / 364.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.005263/0.1076, allocations: 1.544 MB / 366.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1077, allocations: 59.34 kB / 366.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1079, allocations: 233 kB / 366.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1079, allocations: 33.7 kB / 366.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1081, allocations: 184.1 kB / 366.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.1081, allocations: 118.3 kB / 367 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.1083, allocations: 65.98 kB / 367.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1084, allocations: 338.8 kB / 367.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.1086, allocations: 112.7 kB / 367.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1089, allocations: 157.7 kB / 367.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.1094, allocations: 283.7 kB / 368 MB, free: 2.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1094, allocations: 4 kB / 368 MB, free: 2.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001585/0.111, allocations: 0.5295 MB / 368.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1111, allocations: 8 kB / 368.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1111, allocations: 3.984 kB / 368.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.1124, allocations: 245.4 kB / 368.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1127, allocations: 63.83 kB / 368.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/0.2561, allocations: 3.725 MB / 372.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.2564, allocations: 12.94 kB / 372.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.2564, allocations: 13.06 kB / 372.6 MB, free: 18.63 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.0001511/0.2566, allocations: 150.8 kB / 372.7 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.2567, allocations: 26.34 kB / 372.7 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.2567, allocations: 41.89 kB / 372.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2568, allocations: 4.938 kB / 372.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2568, allocations: 5.625 kB / 372.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2568, allocations: 2.828 kB / 372.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.2589, allocations: 0.9822 MB / 373.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.2589, allocations: 1.094 kB / 373.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.2591, allocations: 46.25 kB / 373.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.2604, allocations: 237.4 kB / 374.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2604, allocations: 12.36 kB / 374.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.2641, allocations: 3.716 MB / 377.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2641, allocations: 1.406 kB / 377.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2658, allocations: 0.7265 MB / 378.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.2659, allocations: 105.7 kB / 378.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2659, allocations: 11.3 kB / 378.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2661, allocations: 15.86 kB / 378.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.2662, allocations: 29 kB / 378.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2663, allocations: 11.44 kB / 378.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.2664, allocations: 166.9 kB / 378.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2664, allocations: 0 / 378.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.267, allocations: 104 kB / 379 MB, free: 14.27 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 9.749e-05/0.2671, allocations: 109.5 kB / 379.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008704/0.268, allocations: 0.5632 MB / 379.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.268, allocations: 5.219 kB / 379.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.2685, allocations: 422.9 kB / 380 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.2689, allocations: 28.27 kB / 380.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2701, allocations: 0.8258 MB / 380.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.2704, allocations: 0.7843 MB / 381.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.2705, allocations: 21.23 kB / 381.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.2705, allocations: 25.14 kB / 381.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2705, allocations: 1.125 kB / 381.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.009393/0.2799, allocations: 5.15 MB / 386.9 MB, free: 11.57 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 -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","/var/lib/jenkins/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