Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 183.6 kB / 18.05 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.362/1.362, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007693/0.0007693, allocations: 93.48 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 11.98 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07884/0.2708, allocations: 77 MB / 454 MB, free: 3.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.271, allocations: 67.97 kB / 454.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.2853, allocations: 5.411 MB / 459.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2853, allocations: 0 / 459.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.2853, allocations: 8 kB / 459.5 MB, free: 14.09 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.0008788/0.2862, allocations: 0.6046 MB / 460.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2863, allocations: 8.031 kB / 460.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.2863, allocations: 48.38 kB / 460.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2866, allocations: 280.4 kB / 460.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2867, allocations: 41.38 kB / 460.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.2868, allocations: 36.38 kB / 460.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.2874, allocations: 455.8 kB / 461 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2875, allocations: 4.188 kB / 461 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.2875, allocations: 19.94 kB / 461 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2875, allocations: 15.88 kB / 461 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.288, allocations: 283.9 kB / 461.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.2899, allocations: 1.326 MB / 462.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.2903, allocations: 242.7 kB / 462.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.2907, allocations: 194.3 kB / 463 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2907, allocations: 7.984 kB / 463 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2908, allocations: 42.5 kB / 463.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.866e-06/0.2908, allocations: 4 kB / 463.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001321/0.2921, allocations: 0.5475 MB / 463.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.2922, allocations: 235.3 kB / 463.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2924, allocations: 214.7 kB / 464.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.2925, allocations: 29.7 kB / 464.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2926, allocations: 199.9 kB / 464.3 MB, free: 8.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.2927, allocations: 102.5 kB / 464.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.2927, allocations: 8 kB / 464.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2928, allocations: 334.8 kB / 464.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.293, allocations: 75.95 kB / 464.8 MB, free: 8.449 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2932, allocations: 159.4 kB / 465 MB, free: 8.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008445/0.294, allocations: 377.4 kB / 465.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.2941, allocations: 0 / 465.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004244/0.2945, allocations: 281 kB / 465.6 MB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2945, allocations: 7.938 kB / 465.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2945, allocations: 0 / 465.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2945, allocations: 11.92 kB / 465.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.2949, allocations: 79.89 kB / 465.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2949, allocations: 8.062 kB / 465.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.295, allocations: 31.67 kB / 465.7 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2951, allocations: 8 kB / 465.7 MB, free: 7.461 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: L2.iinternal:VARIABLE(unit = "A" fixed = true ) type: Real L3.iinternal:VARIABLE(unit = "A" fixed = true ) type: Real 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 (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.0002163/0.2953, allocations: 160.8 kB / 465.9 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.2953, allocations: 27.66 kB / 465.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.2954, allocations: 30.66 kB / 466 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2954, allocations: 8 kB / 466 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2954, allocations: 0 / 466 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2954, allocations: 7.984 kB / 466 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.2964, allocations: 0.7789 MB / 466.7 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2965, allocations: 0 / 466.7 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2967, allocations: 55.94 kB / 466.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.297, allocations: 80.81 kB / 466.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.297, allocations: 11.98 kB / 466.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.2989, allocations: 1.839 MB / 468.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2989, allocations: 0 / 468.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.2997, allocations: 0.5132 MB / 469.2 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.2998, allocations: 104.9 kB / 469.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.2998, allocations: 8 kB / 469.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3, allocations: 12 kB / 469.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3, allocations: 19.95 kB / 469.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.3001, allocations: 16 kB / 469.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3002, allocations: 148.4 kB / 469.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3002, allocations: 0 / 469.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.3006, allocations: 115.6 kB / 469.7 MB, free: 3.297 MB / 346.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 () * 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.0001881/0.3008, allocations: 103.2 kB / 469.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.3013, allocations: 215.8 kB / 470 MB, free: 2.973 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3013, allocations: 0 / 470 MB, free: 2.973 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.3018, allocations: 278.4 kB / 470.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3022, allocations: 23.94 kB / 470.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3035, allocations: 1.054 MB / 471.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3039, allocations: 0.7831 MB / 472.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.621e-05/0.304, allocations: 25.92 kB / 472.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3041, allocations: 19.44 kB / 472.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3041, allocations: 7.875 kB / 472.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of Templates: time 0.005602/0.3097, allocations: 2.605 MB / 474.8 MB, free: 14.12 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches