Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001804/0.001804, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.534/1.534, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001284/0.001284, allocations: 52.25 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09367, allocations: 46.62 MB / 375.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003459/0.09718, allocations: 1.995 MB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.09843, allocations: 0.6201 MB / 377.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.09859, allocations: 0 / 377.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.09872, allocations: 19.78 kB / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.0989, allocations: 43.58 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.09932, allocations: 91.81 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.09962, allocations: 183.3 kB / 378.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.09982, allocations: 49.47 kB / 378.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1001, allocations: 83.69 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1002, allocations: 79.62 kB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.1003, allocations: 16 kB / 378.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.1003, allocations: 16 kB / 378.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.1004, allocations: 35.89 kB / 378.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/0.1005, allocations: 83.59 kB / 378.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1007, allocations: 163.4 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.1007, allocations: 3.938 kB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1007, allocations: 3.938 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1008, allocations: 0 / 378.6 MB, free: 1.086 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008151/0.1016, allocations: 478.7 kB / 379.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1016, allocations: 11.89 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.1017, allocations: 16.75 kB / 379.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1019, allocations: 200 kB / 379.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1019, allocations: 8.375 kB / 379.3 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1019, allocations: 12.38 kB / 379.3 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1023, allocations: 160.3 kB / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1023, allocations: 0 / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1023, allocations: 0 / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1023, allocations: 4 kB / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.1026, allocations: 91.94 kB / 379.6 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2015/0.3041, allocations: 0.4987 MB / 380.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3044, allocations: 105.9 kB / 380.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3047, allocations: 67.34 kB / 380.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3047, allocations: 0 / 380.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3047, allocations: 35.08 kB / 380.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3047, allocations: 4.25 kB / 380.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004318/0.3052, allocations: 140.7 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3052, allocations: 118.4 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3053, allocations: 156.7 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3054, allocations: 27.05 kB / 380.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3054, allocations: 122.5 kB / 380.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3054, allocations: 24.61 kB / 380.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3055, allocations: 34.12 kB / 380.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.3055, allocations: 320 kB / 381.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3057, allocations: 40.64 kB / 381.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3058, allocations: 81.95 kB / 381.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.306, allocations: 106.2 kB / 381.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3061, allocations: 0 / 381.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002879/0.3063, allocations: 142.7 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3064, allocations: 6.531 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3064, allocations: 6.484 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3064, allocations: 1.375 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.307, allocations: 87.2 kB / 381.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3081, allocations: 1.505 MB / 383.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3083, allocations: 21.75 kB / 383.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3083, allocations: 11.3 kB / 383.2 MB, free: 10.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.3084, allocations: 124.7 kB / 383.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.3085, allocations: 10.17 kB / 383.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.3089, allocations: 156.7 kB / 383.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.309, allocations: 1.672 kB / 383.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.309, allocations: 0.5 kB / 383.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.309, allocations: 0.6094 kB / 383.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.3096, allocations: 465.8 kB / 384 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3097, allocations: 0.75 kB / 384 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3098, allocations: 25.64 kB / 384 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.31, allocations: 31.59 kB / 384 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3101, allocations: 10.33 kB / 384 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007996/0.3109, allocations: 1.399 MB / 385.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3109, allocations: 0.5625 kB / 385.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.3115, allocations: 299.7 kB / 385.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.3115, allocations: 93.55 kB / 385.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3115, allocations: 2.453 kB / 385.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.3117, allocations: 13.34 kB / 385.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3117, allocations: 14.11 kB / 385.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3118, allocations: 6.938 kB / 385.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.3118, allocations: 119.3 kB / 386 MB, free: 8.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.91e-07/0.3118, allocations: 1.406 kB / 386 MB, free: 8.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.3121, allocations: 39.84 kB / 386 MB, free: 8.379 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.3122, allocations: 97.72 kB / 386.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.3129, allocations: 137.5 kB / 386.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3129, allocations: 0 / 386.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.3132, allocations: 164.8 kB / 386.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3135, allocations: 13.47 kB / 386.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3149, allocations: 0.5297 MB / 386.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3151, allocations: 0.7119 MB / 387.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.3151, allocations: 15.45 kB / 387.7 MB, free: 7.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.3152, allocations: 18.97 kB / 387.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3152, allocations: 0 / 387.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of Templates: time 0.004514/0.3197, allocations: 1.663 MB / 389.3 MB, free: 7.004 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches