Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.00158, allocations: 112.4 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002066/0.002066, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.264/2.264, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.01909/0.01909, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.4015, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006286/0.4078, allocations: 2.836 MB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.4101, allocations: 0.7595 MB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.4106, allocations: 8 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.4109, allocations: 67.36 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.4115, allocations: 91.11 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.4122, allocations: 123.7 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007942/0.413, allocations: 450.8 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/0.4135, allocations: 228.9 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.414, allocations: 183.4 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.4145, allocations: 207.1 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.4146, allocations: 44 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.4149, allocations: 56 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.415, allocations: 99.67 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.4154, allocations: 215 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.4161, allocations: 0.4994 MB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.4162, allocations: 0 / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4162, allocations: 7.938 kB / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.4162, allocations: 0 / 415.8 MB, free: 11.72 MB / 334.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.001544/0.4178, allocations: 0.6865 MB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4178, allocations: 12.03 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.4182, allocations: 56.36 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.4188, allocations: 276.4 kB / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.4188, allocations: 41.38 kB / 416.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4189, allocations: 44.36 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.4201, allocations: 451.6 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.4201, allocations: 0 / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.4202, allocations: 20 kB / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4202, allocations: 12 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008355/0.4211, allocations: 291.8 kB / 417.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.4239, allocations: 1.295 MB / 418.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.4246, allocations: 238.6 kB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.4251, allocations: 200.7 kB / 419.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4252, allocations: 4 kB / 419.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.4252, allocations: 38.56 kB / 419.4 MB, free: 7.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.745e-06/0.4252, allocations: 0 / 419.4 MB, free: 7.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001989/0.4272, allocations: 0.5501 MB / 419.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.4274, allocations: 235.3 kB / 420.2 MB, free: 7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.4277, allocations: 210.8 kB / 420.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.4278, allocations: 37.7 kB / 420.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.428, allocations: 204.2 kB / 420.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4281, allocations: 102.5 kB / 420.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.4282, allocations: 57.7 kB / 420.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4284, allocations: 334.8 kB / 421.1 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.4286, allocations: 75.95 kB / 421.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.429, allocations: 156.5 kB / 421.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.4296, allocations: 196.2 kB / 421.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4296, allocations: 4 kB / 421.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007434/0.4303, allocations: 280.9 kB / 421.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4304, allocations: 8 kB / 421.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4304, allocations: 0 / 421.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4304, allocations: 3.938 kB / 421.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.4309, allocations: 79.89 kB / 421.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.4309, allocations: 4 kB / 421.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.4312, allocations: 31.69 kB / 421.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.4313, allocations: 12.06 kB / 421.9 MB, free: 5.156 MB / 334.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.000248/0.4315, allocations: 153.7 kB / 422.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.4316, allocations: 31.64 kB / 422.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.4317, allocations: 30.59 kB / 422.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4317, allocations: 4 kB / 422.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.4318, allocations: 0 / 422.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4318, allocations: 7.984 kB / 422.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.4337, allocations: 0.7711 MB / 422.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4337, allocations: 4 kB / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.4341, allocations: 47.97 kB / 423 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/0.4346, allocations: 92.73 kB / 423.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.4347, allocations: 8 kB / 423.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.4376, allocations: 1.977 MB / 425.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4376, allocations: 0 / 425.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.439, allocations: 0.505 MB / 425.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.4391, allocations: 100.9 kB / 425.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.4392, allocations: 8.062 kB / 425.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.4395, allocations: 15.98 kB / 425.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.4396, allocations: 23.97 kB / 425.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.4396, allocations: 4 kB / 425.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002727/0.4399, allocations: 152.5 kB / 425.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4399, allocations: 0 / 425.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.4406, allocations: 111.5 kB / 426 MB, free: 0.8672 MB / 334.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.0001769/0.4407, allocations: 107.2 kB / 426.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.4414, allocations: 219.9 kB / 426.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4414, allocations: 0 / 426.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.4422, allocations: 270.5 kB / 426.5 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.4429, allocations: 35.05 kB / 426.6 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.445, allocations: 0.8758 MB / 427.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.4455, allocations: 0.7869 MB / 428.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.4457, allocations: 31.42 kB / 428.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4457, allocations: 0 / 428.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Templates: time 0.01087/0.4565, allocations: 4.085 MB / 432.4 MB, free: 10.38 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches