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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001758/0.001758, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.424/1.424, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001308/0.001308, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.0844, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003778/0.08821, allocations: 2.785 MB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.08965, allocations: 0.7448 MB / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.08989, allocations: 8 kB / 332.2 MB, free: 192 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.09014, allocations: 67.41 kB / 332.3 MB, free: 124 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.09038, allocations: 95.06 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.09079, allocations: 123.8 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.09122, allocations: 434.8 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.09158, allocations: 216.9 kB / 333.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.09181, allocations: 179.4 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.09205, allocations: 203.1 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.09212, allocations: 44 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.09219, allocations: 48 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.09228, allocations: 91.75 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.09249, allocations: 223 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.09297, allocations: 0.4944 MB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09298, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09299, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.09301, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 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.00106/0.09407, allocations: 0.6903 MB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.09412, allocations: 15.89 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.0942, allocations: 40.47 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.09449, allocations: 272.4 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.09453, allocations: 33.38 kB / 335.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.0946, allocations: 40.38 kB / 335.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.09531, allocations: 455.6 kB / 336 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.09533, allocations: 3.984 kB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.09538, allocations: 16 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.09539, allocations: 12 kB / 336 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.09589, allocations: 279.8 kB / 336.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.09759, allocations: 1.299 MB / 337.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.09801, allocations: 246.6 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.09835, allocations: 196.8 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.09839, allocations: 7.984 kB / 338 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.09842, allocations: 34.56 kB / 338 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.502e-06/0.09843, allocations: 4 kB / 338 MB, free: 10.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001277/0.09972, allocations: 0.5384 MB / 338.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.09982, allocations: 235.3 kB / 338.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1, allocations: 207 kB / 339 MB, free: 9.082 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1, allocations: 37.7 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1002, allocations: 199.9 kB / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.1002, allocations: 106.5 kB / 339.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.1003, allocations: 61.69 kB / 339.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1004, allocations: 334.8 kB / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1006, allocations: 67.97 kB / 339.8 MB, free: 8.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1008, allocations: 160.8 kB / 340 MB, free: 8.078 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008109/0.1016, allocations: 365.9 kB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1016, allocations: 0 / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004207/0.1021, allocations: 281 kB / 340.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1021, allocations: 4 kB / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1021, allocations: 0 / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1021, allocations: 4 kB / 340.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1024, allocations: 83.89 kB / 340.7 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1025, allocations: 7.938 kB / 340.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1026, allocations: 31.75 kB / 340.7 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1027, allocations: 15.98 kB / 340.7 MB, free: 7.289 MB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.1029, allocations: 157.8 kB / 340.9 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1029, allocations: 27.66 kB / 340.9 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.103, allocations: 34.64 kB / 340.9 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.103, allocations: 4 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.103, allocations: 4 kB / 341 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.103, allocations: 4 kB / 341 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009716/0.104, allocations: 0.7672 MB / 341.7 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.104, allocations: 0 / 341.7 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.1043, allocations: 47.97 kB / 341.8 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.1045, allocations: 92.77 kB / 341.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1046, allocations: 8 kB / 341.9 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.1064, allocations: 1.969 MB / 343.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1064, allocations: 0 / 343.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.1071, allocations: 0.5101 MB / 344.3 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.1072, allocations: 108.7 kB / 344.5 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1072, allocations: 4.062 kB / 344.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1074, allocations: 12 kB / 344.5 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.1075, allocations: 27.95 kB / 344.5 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1075, allocations: 8.125 kB / 344.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1076, allocations: 156.3 kB / 344.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1076, allocations: 0 / 344.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.108, allocations: 107.7 kB / 344.8 MB, free: 3 MB / 286.1 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 (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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.1081, allocations: 111.1 kB / 344.9 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.1085, allocations: 203.8 kB / 345.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1085, allocations: 0 / 345.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.1089, allocations: 278.7 kB / 345.3 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1092, allocations: 32.33 kB / 345.4 MB, free: 2.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1103, allocations: 0.834 MB / 346.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1106, allocations: 0.7831 MB / 347 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.786e-05/0.1107, allocations: 29.92 kB / 347 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1108, allocations: 23.44 kB / 347 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1108, allocations: 0 / 347 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of Templates: time 0.005847/0.1166, allocations: 2.89 MB / 349.9 MB, free: 13.75 MB / 302.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches