Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 203.9 kB / 18.79 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 230.4 MB / 250 MB, free: 9.008 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.81 kB / 367.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2527, allocations: 53.31 MB / 420.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004151/0.2568, allocations: 2.787 MB / 423.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2585, allocations: 0.9462 MB / 424.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2586, allocations: 8 kB / 424.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.2588, allocations: 55.44 kB / 424.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.2591, allocations: 119.2 kB / 424.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.2594, allocations: 103.8 kB / 424.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.2598, allocations: 362.6 kB / 425 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.26, allocations: 77.69 kB / 425.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.2603, allocations: 147.4 kB / 425.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.2605, allocations: 151.3 kB / 425.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.2606, allocations: 28 kB / 425.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.2606, allocations: 39.98 kB / 425.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.2607, allocations: 71.69 kB / 425.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2609, allocations: 155.2 kB / 425.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.2613, allocations: 370.3 kB / 426 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2613, allocations: 0 / 426 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2613, allocations: 0 / 426 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2614, allocations: 0 / 426 MB, free: 2.941 MB / 334.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.001166/0.2625, allocations: 0.6155 MB / 426.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2626, allocations: 12.03 kB / 426.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.2627, allocations: 36.75 kB / 426.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.2631, allocations: 276.7 kB / 427 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2631, allocations: 20.94 kB / 427 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.2632, allocations: 28.38 kB / 427 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.2637, allocations: 253.2 kB / 427.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2637, allocations: 0 / 427.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2637, allocations: 8 kB / 427.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2637, allocations: 8 kB / 427.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.2642, allocations: 214.1 kB / 427.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2657, allocations: 1.009 MB / 428.5 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.2662, allocations: 186.5 kB / 428.7 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.2664, allocations: 108.9 kB / 428.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.2665, allocations: 0 / 428.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2665, allocations: 34.56 kB / 428.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.052e-06/0.2665, allocations: 0 / 428.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005303/0.2718, allocations: 1.55 MB / 430.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2719, allocations: 59.34 kB / 430.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.2721, allocations: 237 kB / 430.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.2721, allocations: 29.7 kB / 430.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.2723, allocations: 180.5 kB / 430.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2724, allocations: 122.9 kB / 431 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2725, allocations: 66.06 kB / 431.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.2727, allocations: 338.8 kB / 431.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.273, allocations: 112.7 kB / 431.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.2733, allocations: 153.7 kB / 431.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.274, allocations: 291.6 kB / 431.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.274, allocations: 0 / 431.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001693/0.2757, allocations: 0.5332 MB / 432.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2757, allocations: 8 kB / 432.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2757, allocations: 0 / 432.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.277, allocations: 241.5 kB / 432.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.2773, allocations: 59.91 kB / 432.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/0.2828, allocations: 4.149 MB / 436.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2831, allocations: 12.03 kB / 436.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.2831, allocations: 8 kB / 436.9 MB, free: 7.395 MB / 350.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.0001845/0.2833, allocations: 153.8 kB / 437.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.2833, allocations: 23.86 kB / 437.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.673e-05/0.2834, allocations: 43.03 kB / 437.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2834, allocations: 0 / 437.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2834, allocations: 7.938 kB / 437.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2834, allocations: 7.922 kB / 437.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.2859, allocations: 0.9852 MB / 438.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2859, allocations: 0 / 438.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.2861, allocations: 48.03 kB / 438.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.2873, allocations: 241.7 kB / 438.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2874, allocations: 8 kB / 438.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.293, allocations: 4.126 MB / 442.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.293, allocations: 0 / 442.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.2949, allocations: 0.7253 MB / 443.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.295, allocations: 108.9 kB / 443.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.295, allocations: 16 kB / 443.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.2953, allocations: 11.98 kB / 443.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2954, allocations: 27.97 kB / 443.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.2954, allocations: 15.98 kB / 443.5 MB, free: 464 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.2956, allocations: 160.5 kB / 443.6 MB, free: 304 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2956, allocations: 0 / 443.6 MB, free: 304 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007124/0.2963, allocations: 104 kB / 443.7 MB, free: 200 kB / 350.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.0001704/0.2965, allocations: 119.1 kB / 443.8 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2976, allocations: 0.5443 MB / 444.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2976, allocations: 0 / 444.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.2982, allocations: 417.1 kB / 444.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.2985, allocations: 28.36 kB / 444.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2999, allocations: 0.709 MB / 445.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.3004, allocations: 0.7801 MB / 446.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.3005, allocations: 22.28 kB / 446.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.3005, allocations: 23.44 kB / 446.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3005, allocations: 0 / 446.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01139/0.3119, allocations: 5.557 MB / 451.9 MB, free: 7.898 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches