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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 182.7 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 224.2 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 97.16 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 16 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 47.56 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.082/0.3037, allocations: 79.31 MB / 456.3 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.3039, allocations: 75.95 kB / 456.4 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01895/0.3229, allocations: 6.942 MB / 463.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3229, allocations: 0 / 463.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.3229, allocations: 12 kB / 463.4 MB, free: 10.19 MB / 346.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.0008795/0.3238, allocations: 0.5463 MB / 463.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3239, allocations: 8.031 kB / 463.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.324, allocations: 40.55 kB / 463.9 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3244, allocations: 268.5 kB / 464.2 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.3244, allocations: 20.94 kB / 464.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.3245, allocations: 28.31 kB / 464.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.325, allocations: 261.1 kB / 464.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.325, allocations: 0 / 464.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.325, allocations: 15.94 kB / 464.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.325, allocations: 4 kB / 464.5 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.3255, allocations: 218.1 kB / 464.7 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.3272, allocations: 1.028 MB / 465.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.3276, allocations: 198.5 kB / 466 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.3279, allocations: 111.2 kB / 466.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3279, allocations: 4.094 kB / 466.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.328, allocations: 46.5 kB / 466.1 MB, free: 7.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.328, allocations: 0 / 466.1 MB, free: 7.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.004666/0.3326, allocations: 1.481 MB / 467.6 MB, free: 5.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3327, allocations: 67.22 kB / 467.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3329, allocations: 228.9 kB / 467.9 MB, free: 5.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.333, allocations: 29.7 kB / 467.9 MB, free: 5.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.3331, allocations: 176.2 kB / 468.1 MB, free: 5.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.3332, allocations: 126.2 kB / 468.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.3332, allocations: 12 kB / 468.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3333, allocations: 330.8 kB / 468.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3336, allocations: 111.9 kB / 468.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.3338, allocations: 161.4 kB / 468.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.3343, allocations: 287 kB / 469.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3343, allocations: 0 / 469.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001515/0.3359, allocations: 0.5275 MB / 469.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3359, allocations: 11.98 kB / 469.6 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3359, allocations: 0 / 469.6 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.3372, allocations: 253.4 kB / 469.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3375, allocations: 59.91 kB / 469.9 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.342, allocations: 3.747 MB / 473.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.3422, allocations: 12.06 kB / 473.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3422, allocations: 12 kB / 473.7 MB, free: 15.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.3424, allocations: 149.8 kB / 473.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.3425, allocations: 27.62 kB / 473.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.3426, allocations: 38.97 kB / 473.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3426, allocations: 4 kB / 473.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3426, allocations: 7.938 kB / 473.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3426, allocations: 7.984 kB / 473.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.3446, allocations: 0.9455 MB / 474.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3446, allocations: 0 / 474.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3448, allocations: 39.97 kB / 474.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.3462, allocations: 245.8 kB / 475.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.3462, allocations: 19.81 kB / 475.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.3503, allocations: 3.729 MB / 478.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3503, allocations: 3.938 kB / 478.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.352, allocations: 0.728 MB / 479.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.3521, allocations: 92.83 kB / 479.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.3521, allocations: 11.94 kB / 479.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.3524, allocations: 15.98 kB / 479.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/0.3525, allocations: 32.02 kB / 479.8 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3525, allocations: 12 kB / 479.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.3527, allocations: 160.5 kB / 480 MB, free: 8.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3527, allocations: 0 / 480 MB, free: 8.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006908/0.3534, allocations: 108 kB / 480.1 MB, free: 8.434 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002079/0.3536, allocations: 111.2 kB / 480.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3547, allocations: 0.5598 MB / 480.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3547, allocations: 0 / 480.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.3553, allocations: 425.9 kB / 481.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3557, allocations: 40.62 kB / 481.2 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3571, allocations: 0.8322 MB / 482 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3575, allocations: 0.7801 MB / 482.8 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3576, allocations: 22.27 kB / 482.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.3576, allocations: 19.44 kB / 482.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3577, allocations: 0 / 482.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of Templates: time 0.009657/0.3673, allocations: 5.261 MB / 488.1 MB, free: 292 kB / 362.7 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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches