Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.0009172, allocations: 94.58 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2147, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09122/0.306, allocations: 81.18 MB / 482.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.3064, allocations: 83.95 kB / 482.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0188/0.3252, allocations: 7.179 MB / 489.9 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3252, allocations: 4 kB / 489.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3252, allocations: 4 kB / 490 MB, free: 7.992 MB / 362.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.0008099/0.326, allocations: 0.5583 MB / 490.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3261, allocations: 8.031 kB / 490.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.3262, allocations: 31.62 kB / 490.5 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3265, allocations: 267 kB / 490.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3266, allocations: 20.56 kB / 490.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.3266, allocations: 31.98 kB / 490.9 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.3271, allocations: 244.8 kB / 491.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3271, allocations: 0 / 491.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.3271, allocations: 19.94 kB / 491.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3271, allocations: 8 kB / 491.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.3276, allocations: 218.1 kB / 491.3 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.3291, allocations: 1.017 MB / 492.4 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.3295, allocations: 198.5 kB / 492.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3295, allocations: 4 kB / 492.6 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3295, allocations: 38.56 kB / 492.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.402e-06/0.3296, allocations: 0 / 492.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.00498/0.3345, allocations: 1.509 MB / 494.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3346, allocations: 55.41 kB / 494.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3348, allocations: 200.2 kB / 494.4 MB, free: 3.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3348, allocations: 29.7 kB / 494.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.3349, allocations: 184.1 kB / 494.6 MB, free: 3.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.335, allocations: 114.3 kB / 494.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.335, allocations: 12 kB / 494.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3351, allocations: 334.8 kB / 495 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.3354, allocations: 108 kB / 495.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3356, allocations: 164.4 kB / 495.3 MB, free: 2.336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3359, allocations: 125.6 kB / 495.4 MB, free: 2.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3359, allocations: 0 / 495.4 MB, free: 2.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001656/0.3376, allocations: 0.5394 MB / 495.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3376, allocations: 10.66 kB / 495.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3376, allocations: 4 kB / 496 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.3392, allocations: 245.5 kB / 496.2 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.3395, allocations: 59.91 kB / 496.3 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/0.3439, allocations: 3.791 MB / 0.4883 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.3441, allocations: 11.98 kB / 0.4883 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3442, allocations: 12 kB / 0.4883 GB, free: 13.27 MB / 378.7 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 (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.0001699/0.3443, allocations: 153.7 kB / 0.4885 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.3444, allocations: 23.72 kB / 0.4885 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.3445, allocations: 43.02 kB / 0.4886 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3445, allocations: 7.938 kB / 0.4886 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3445, allocations: 4 kB / 0.4886 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3445, allocations: 0 / 0.4886 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.345, allocations: 377.4 kB / 0.4889 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.345, allocations: 4 kB / 0.4889 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.3452, allocations: 39.92 kB / 0.489 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.3467, allocations: 258 kB / 0.4892 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3467, allocations: 7.984 kB / 0.4892 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.3507, allocations: 3.686 MB / 0.4928 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3507, allocations: 0 / 0.4928 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.3525, allocations: 0.7152 MB / 0.4935 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.3526, allocations: 96.86 kB / 0.4936 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.3526, allocations: 4 kB / 0.4936 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.3529, allocations: 15.98 kB / 0.4936 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.3529, allocations: 27.95 kB / 0.4937 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.353, allocations: 12 kB / 0.4937 GB, free: 7.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3531, allocations: 164.5 kB / 0.4938 GB, free: 7.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3531, allocations: 4.062 kB / 0.4938 GB, free: 7.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.3537, allocations: 104 kB / 0.4939 GB, free: 7.172 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001799/0.3539, allocations: 123.6 kB / 0.494 GB, free: 7.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009252/0.3548, allocations: 0.5672 MB / 0.4946 GB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3548, allocations: 0 / 0.4946 GB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.3553, allocations: 433.8 kB / 0.495 GB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.3556, allocations: 17 kB / 0.495 GB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3567, allocations: 0.8233 MB / 0.4958 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.357, allocations: 0.7879 MB / 0.4966 GB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.931e-05/0.3571, allocations: 26.27 kB / 0.4966 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3572, allocations: 15.44 kB / 0.4966 GB, free: 4.281 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3572, allocations: 3.938 kB / 0.4966 GB, free: 4.277 MB / 378.7 MB Notification: Performance of Templates: time 0.1625/0.5197, allocations: 5.292 MB / 0.5018 GB, free: 100.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches