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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 102.1 kB / 17.59 MB, free: 5.418 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.00144/0.00144, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 40.28 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08838, allocations: 49.44 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003987/0.0924, allocations: 2.826 MB / 353.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.09383, allocations: 0.7204 MB / 354.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.09412, allocations: 4 kB / 354.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.09433, allocations: 63.42 kB / 354.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.09459, allocations: 103 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.09497, allocations: 123.8 kB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.09539, allocations: 442.8 kB / 355 MB, free: 160 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.09575, allocations: 220.9 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.09597, allocations: 175.4 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.0962, allocations: 207.1 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.09627, allocations: 48 kB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.09634, allocations: 44 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.09642, allocations: 107.7 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.0966, allocations: 211.1 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.09702, allocations: 0.4907 MB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.09703, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09704, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.09705, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.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.001024/0.09808, allocations: 0.6903 MB / 357.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.09812, allocations: 11.89 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.09824, allocations: 48.45 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.09852, allocations: 269.3 kB / 357.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.09856, allocations: 29.38 kB / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.09863, allocations: 48.36 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.09928, allocations: 455.6 kB / 358 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.09931, allocations: 3.906 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.09935, allocations: 16 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.09937, allocations: 11.94 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.09986, allocations: 283.9 kB / 358.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.1016, allocations: 1.318 MB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.1021, allocations: 250.6 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.1024, allocations: 192.8 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1025, allocations: 8 kB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1025, allocations: 38.56 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.1025, allocations: 0 / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001342/0.1039, allocations: 0.5462 MB / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.104, allocations: 243.3 kB / 360.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1042, allocations: 203 kB / 361.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1042, allocations: 33.7 kB / 361.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1044, allocations: 200.2 kB / 361.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.1044, allocations: 102.5 kB / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.1045, allocations: 69.69 kB / 361.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1047, allocations: 330.8 kB / 361.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1048, allocations: 75.95 kB / 361.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.105, allocations: 164.7 kB / 362 MB, free: 8.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.1053, allocations: 191.5 kB / 362.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1054, allocations: 0 / 362.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004317/0.1058, allocations: 284.9 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1058, allocations: 8 kB / 362.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1058, allocations: 4.047 kB / 362.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1059, allocations: 4 kB / 362.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.1062, allocations: 79.89 kB / 362.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1062, allocations: 4 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1064, allocations: 31.69 kB / 362.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1064, allocations: 8 kB / 362.6 MB, free: 8.086 MB / 302.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 (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.0001571/0.1066, allocations: 153.8 kB / 362.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.1066, allocations: 27.66 kB / 362.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.1067, allocations: 38.59 kB / 362.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1067, allocations: 4 kB / 362.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.1067, allocations: 0 / 362.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1067, allocations: 7.984 kB / 362.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1078, allocations: 0.7565 MB / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1078, allocations: 0 / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.108, allocations: 55.95 kB / 363.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.1084, allocations: 84.84 kB / 363.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1084, allocations: 8 kB / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.1103, allocations: 1.981 MB / 365.8 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1103, allocations: 3.938 kB / 365.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.111, allocations: 0.5093 MB / 366.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1111, allocations: 100.8 kB / 366.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1112, allocations: 4.062 kB / 366.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1113, allocations: 15.98 kB / 366.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1114, allocations: 27.91 kB / 366.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1114, allocations: 8 kB / 366.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1116, allocations: 152.5 kB / 366.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1116, allocations: 0 / 366.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.112, allocations: 107.6 kB / 366.7 MB, free: 3.797 MB / 302.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.0001321/0.1121, allocations: 111.2 kB / 366.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.1125, allocations: 217 kB / 367 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1126, allocations: 4.062 kB / 367 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.113, allocations: 274.5 kB / 367.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1135, allocations: 36.05 kB / 367.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.115, allocations: 0.8669 MB / 368.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1153, allocations: 0.7909 MB / 369 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1154, allocations: 19.44 kB / 369 MB, free: 1.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1154, allocations: 0 / 369 MB, free: 1.41 MB / 302.1 MB Notification: Performance of Templates: time 0.1435/0.2589, allocations: 4.02 MB / 373 MB, free: 25.35 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches