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.001349/0.001349, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.366/1.366, allocations: 221.3 MB / 235.5 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008914, allocations: 92.67 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.965e-05, allocations: 8 kB / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09819, allocations: 50.42 MB / 394.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3899, allocations: 78.24 MB / 472.5 MB, free: 9.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3902, allocations: 71.8 kB / 472.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.4058, allocations: 5.864 MB / 478.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4058, allocations: 0 / 478.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.4058, allocations: 11.98 kB / 478.4 MB, free: 3.398 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008277/0.4067, allocations: 0.5849 MB / 479 MB, free: 2.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4067, allocations: 12.03 kB / 479 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.4068, allocations: 39.53 kB / 479.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.4071, allocations: 275.1 kB / 479.3 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.4072, allocations: 29 kB / 479.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.4072, allocations: 48 kB / 479.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.4079, allocations: 435.3 kB / 479.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4079, allocations: 0 / 479.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.408, allocations: 20 kB / 479.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.408, allocations: 16 kB / 479.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.4084, allocations: 263.9 kB / 480.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.4102, allocations: 1.33 MB / 481.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.4106, allocations: 231 kB / 481.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.4109, allocations: 185.3 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.411, allocations: 4.5 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.411, allocations: 46.48 kB / 481.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.735e-06/0.411, allocations: 3.984 kB / 481.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005454/0.4116, allocations: 274.1 kB / 482.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.4117, allocations: 247.3 kB / 482.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4119, allocations: 181.9 kB / 482.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4119, allocations: 41.7 kB / 482.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.412, allocations: 200.2 kB / 482.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.4121, allocations: 94.56 kB / 482.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.4121, allocations: 7.938 kB / 482.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4122, allocations: 334.8 kB / 483.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4124, allocations: 68 kB / 483.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.4125, allocations: 152.2 kB / 483.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.4127, allocations: 87.77 kB / 483.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4127, allocations: 0 / 483.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003618/0.4131, allocations: 257.2 kB / 483.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4131, allocations: 9.156 kB / 483.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4131, allocations: 3.938 kB / 483.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4131, allocations: 4 kB / 483.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.4135, allocations: 83.89 kB / 483.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4135, allocations: 0 / 483.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.4136, allocations: 35.69 kB / 483.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4137, allocations: 12 kB / 484 MB, free: 13.5 MB / 362.7 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 () * 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 8.626e-05/0.4138, allocations: 120.9 kB / 484.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.4138, allocations: 27.72 kB / 484.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.4139, allocations: 38.77 kB / 484.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4139, allocations: 0 / 484.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4139, allocations: 4 kB / 484.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4139, allocations: 0 / 484.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.4149, allocations: 0.7643 MB / 484.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4149, allocations: 3.984 kB / 484.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4151, allocations: 55.94 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.4154, allocations: 84.81 kB / 485 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4154, allocations: 11.95 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.4171, allocations: 1.815 MB / 486.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4171, allocations: 4.031 kB / 486.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.4178, allocations: 0.4956 MB / 487.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.4178, allocations: 108.9 kB / 487.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.4179, allocations: 11.94 kB / 487.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.418, allocations: 8 kB / 487.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.4181, allocations: 27.95 kB / 487.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.4181, allocations: 4 kB / 487.5 MB, free: 9.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.4183, allocations: 152.4 kB / 487.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4183, allocations: 0 / 487.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.4186, allocations: 107.7 kB / 487.8 MB, free: 9.418 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete 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.0001429/0.4188, allocations: 119.1 kB / 487.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.4191, allocations: 195.9 kB / 488.1 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4191, allocations: 4 kB / 488.1 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.4195, allocations: 266.5 kB / 488.4 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4197, allocations: 27.94 kB / 488.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.4207, allocations: 0.6841 MB / 489.1 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.4211, allocations: 0.7989 MB / 489.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.411e-05/0.4212, allocations: 18.08 kB / 489.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.4212, allocations: 23.42 kB / 489.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4212, allocations: 0 / 489.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of Templates: time 0.005708/0.4269, allocations: 2.772 MB / 492.7 MB, free: 4.461 MB / 362.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