Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 111.9 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 190.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 47.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09645, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004402/0.1009, allocations: 2.673 MB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1027, allocations: 0.9041 MB / 379.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.103, allocations: 7.938 kB / 379.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1034, allocations: 59.5 kB / 379.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.1039, allocations: 103.1 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1043, allocations: 99.81 kB / 379.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.1049, allocations: 346.7 kB / 380 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1051, allocations: 117.7 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1054, allocations: 135.5 kB / 380.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1951/0.3005, allocations: 148 kB / 380.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.3007, allocations: 28 kB / 380.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3008, allocations: 28.66 kB / 380.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.3009, allocations: 67.61 kB / 380.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.3011, allocations: 156.3 kB / 380.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.3016, allocations: 358.6 kB / 381 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3016, allocations: 1.562 kB / 381 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3016, allocations: 0.625 kB / 381 MB, free: 9.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3016, allocations: 0 / 381 MB, free: 9.992 MB / 318.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.00103/0.3027, allocations: 0.6002 MB / 381.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3027, allocations: 17.45 kB / 381.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.3028, allocations: 39.23 kB / 381.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.3032, allocations: 259.1 kB / 381.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3033, allocations: 19.31 kB / 381.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.3033, allocations: 28.19 kB / 381.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.3038, allocations: 250.4 kB / 382.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3038, allocations: 6.75 kB / 382.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3038, allocations: 10.69 kB / 382.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3038, allocations: 6.688 kB / 382.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.3043, allocations: 211.3 kB / 382.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3059, allocations: 1.002 MB / 383.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.3065, allocations: 208.4 kB / 383.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.3068, allocations: 111.2 kB / 383.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3068, allocations: 3.484 kB / 383.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.3069, allocations: 32.77 kB / 383.8 MB, free: 8.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.3069, allocations: 1.344 kB / 383.8 MB, free: 8.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.00527/0.3122, allocations: 1.541 MB / 385.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3122, allocations: 59.28 kB / 385.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.3124, allocations: 228.8 kB / 385.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3125, allocations: 30.98 kB / 385.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.3125, allocations: 187.6 kB / 385.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.3126, allocations: 123 kB / 385.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3127, allocations: 61.34 kB / 386 MB, free: 7.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.3128, allocations: 339.4 kB / 386.3 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3131, allocations: 107.1 kB / 386.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.3133, allocations: 162.3 kB / 386.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.3138, allocations: 277.8 kB / 386.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3139, allocations: 3.656 kB / 386.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001632/0.3155, allocations: 0.5327 MB / 387.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3155, allocations: 9.828 kB / 387.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3155, allocations: 1.375 kB / 387.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.317, allocations: 241.5 kB / 387.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.3173, allocations: 56.81 kB / 387.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.3216, allocations: 4.14 MB / 391.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3219, allocations: 9.891 kB / 391.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.322, allocations: 18.2 kB / 391.9 MB, free: 3.309 MB / 318.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.0001492/0.3221, allocations: 147.7 kB / 392 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.3222, allocations: 25.47 kB / 392 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.3223, allocations: 45.67 kB / 392.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3223, allocations: 3.5 kB / 392.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3223, allocations: 2.406 kB / 392.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3223, allocations: 2.672 kB / 392.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.3246, allocations: 0.979 MB / 393.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3246, allocations: 1.578 kB / 393.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.3248, allocations: 43.52 kB / 393.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.3261, allocations: 248.1 kB / 393.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3262, allocations: 7.109 kB / 393.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004994/0.3312, allocations: 4.123 MB / 397.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3312, allocations: 3 kB / 397.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.3334, allocations: 0.7296 MB / 398.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3335, allocations: 108.3 kB / 398.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.3336, allocations: 11.31 kB / 398.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3338, allocations: 13.48 kB / 398.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.334, allocations: 33.14 kB / 398.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.334, allocations: 9.234 kB / 398.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.3343, allocations: 170 kB / 398.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3343, allocations: 0 / 398.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007398/0.335, allocations: 99.25 kB / 398.6 MB, free: 14.27 MB / 334.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.000203/0.3352, allocations: 106 kB / 398.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3365, allocations: 0.5701 MB / 399.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3366, allocations: 3.938 kB / 399.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.3372, allocations: 440.6 kB / 399.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3376, allocations: 24.73 kB / 399.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3391, allocations: 0.7113 MB / 400.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3394, allocations: 0.7821 MB / 401.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.3395, allocations: 21.5 kB / 401.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3395, allocations: 0 / 401.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Templates: time 0.009544/0.3491, allocations: 5.986 MB / 407.3 MB, free: 10.54 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches