Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009845/0.0009844, allocations: 180.5 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.229/1.229, 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.000867/0.0008671, allocations: 94.41 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1971, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08663/0.2837, allocations: 78.31 MB / 479.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.284, allocations: 67.97 kB / 479.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.2991, allocations: 5.844 MB / 485.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2991, allocations: 4 kB / 485.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.2991, allocations: 12 kB / 485.7 MB, free: 12.23 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008585/0.3, allocations: 0.6083 MB / 486.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3, allocations: 12.03 kB / 486.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.3001, allocations: 43.44 kB / 486.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3004, allocations: 276.9 kB / 486.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3005, allocations: 29 kB / 486.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.707e-05/0.3005, allocations: 44 kB / 486.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.3012, allocations: 451.2 kB / 487.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3012, allocations: 12 kB / 487.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.3013, allocations: 16 kB / 487.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3013, allocations: 11.94 kB / 487.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.3018, allocations: 283.9 kB / 487.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.3036, allocations: 1.326 MB / 488.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.304, allocations: 250 kB / 489.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.304, allocations: 4.5 kB / 489.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.304, allocations: 30.56 kB / 489.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.136e-06/0.304, allocations: 0 / 489.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001338/0.3054, allocations: 0.5658 MB / 489.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.3055, allocations: 235.3 kB / 489.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3057, allocations: 190.1 kB / 490.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3057, allocations: 29.7 kB / 490.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.3058, allocations: 200.3 kB / 490.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.3059, allocations: 102.5 kB / 490.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.3059, allocations: 4 kB / 490.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.306, allocations: 350.7 kB / 490.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3062, allocations: 75.97 kB / 490.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.3064, allocations: 159.4 kB / 491 MB, free: 6.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3065, allocations: 101 kB / 491.1 MB, free: 6.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3065, allocations: 0 / 491.1 MB, free: 6.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004241/0.307, allocations: 284.8 kB / 491.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.307, allocations: 4 kB / 491.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.307, allocations: 0 / 491.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.307, allocations: 4 kB / 491.4 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.3074, allocations: 83.89 kB / 491.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3074, allocations: 0 / 491.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3076, allocations: 31.69 kB / 491.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3076, allocations: 15.98 kB / 491.5 MB, free: 6.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.3077, allocations: 157.7 kB / 491.6 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.3078, allocations: 23.72 kB / 491.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.3079, allocations: 26.66 kB / 491.7 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3079, allocations: 7.984 kB / 491.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3079, allocations: 0 / 491.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3079, allocations: 7.938 kB / 491.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.3083, allocations: 405 kB / 492.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3083, allocations: 0 / 492.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.3086, allocations: 55.89 kB / 492.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.3089, allocations: 88.81 kB / 492.2 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3089, allocations: 7.984 kB / 492.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.3106, allocations: 1.855 MB / 494.1 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3106, allocations: 0 / 494.1 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.3113, allocations: 0.5253 MB / 494.6 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3114, allocations: 100.8 kB / 494.7 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3114, allocations: 8.062 kB / 494.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3116, allocations: 11.98 kB / 494.8 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3116, allocations: 23.97 kB / 494.8 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3117, allocations: 4 kB / 494.8 MB, free: 2.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.3118, allocations: 148.6 kB / 494.9 MB, free: 2.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3118, allocations: 4 kB / 494.9 MB, free: 2.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.3121, allocations: 115.6 kB / 495 MB, free: 2.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.3123, allocations: 115.1 kB / 495.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.3126, allocations: 215.9 kB / 495.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3126, allocations: 0 / 495.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.313, allocations: 286.5 kB / 495.6 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3133, allocations: 26.97 kB / 495.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3145, allocations: 1.053 MB / 496.7 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3148, allocations: 0.7989 MB / 497.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.3149, allocations: 17.95 kB / 497.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.315, allocations: 27.44 kB / 497.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.315, allocations: 3.938 kB / 497.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of Templates: time 0.005599/0.3206, allocations: 2.807 MB / 0.4887 GB, free: 12.91 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches