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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 119.5 kB / 18.5 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 205.7 kB / 21.45 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.88 kB / 373.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1114, allocations: 53.32 MB / 427.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003859/0.1152, allocations: 2.862 MB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1165, allocations: 0.7633 MB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1166, allocations: 8 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1167, allocations: 55.42 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1169, allocations: 99.06 kB / 430.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1172, allocations: 127.8 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.1177, allocations: 450.8 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2013/0.319, allocations: 161 kB / 431.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.3195, allocations: 178.6 kB / 431.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.3198, allocations: 206 kB / 432 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.3198, allocations: 46.38 kB / 432.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.32, allocations: 50.58 kB / 432.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.32, allocations: 106.8 kB / 432.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3202, allocations: 215.9 kB / 432.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.3208, allocations: 0.504 MB / 432.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3208, allocations: 2.188 kB / 432.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3208, allocations: 1.125 kB / 432.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3208, allocations: 0 / 432.9 MB, free: 8.004 MB / 350.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.0009553/0.3218, allocations: 0.6909 MB / 433.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3218, allocations: 11.75 kB / 433.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.3221, allocations: 57.91 kB / 433.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3223, allocations: 287.3 kB / 434 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3223, allocations: 33.09 kB / 434 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.3224, allocations: 46.89 kB / 434.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.323, allocations: 455.9 kB / 434.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3231, allocations: 4.969 kB / 434.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.3231, allocations: 14.88 kB / 434.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3231, allocations: 10.03 kB / 434.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.3236, allocations: 286.3 kB / 434.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.3254, allocations: 1.307 MB / 436.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.3258, allocations: 211.7 kB / 436.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.3262, allocations: 182.1 kB / 436.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3262, allocations: 8.109 kB / 436.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3262, allocations: 40.09 kB / 436.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.3262, allocations: 1.125 kB / 436.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001435/0.3277, allocations: 0.5413 MB / 437.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.3277, allocations: 242.5 kB / 437.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3279, allocations: 207.6 kB / 437.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.328, allocations: 34.89 kB / 437.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3281, allocations: 203.9 kB / 437.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.3281, allocations: 109.2 kB / 437.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.3282, allocations: 63.19 kB / 437.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.3283, allocations: 332.2 kB / 438.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3284, allocations: 75.58 kB / 438.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3286, allocations: 157.7 kB / 438.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.3289, allocations: 198.6 kB / 438.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3289, allocations: 4.875 kB / 438.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004444/0.3294, allocations: 278.1 kB / 439 MB, free: 5.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3294, allocations: 6.5 kB / 439 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3294, allocations: 1.094 kB / 439 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3294, allocations: 2.375 kB / 439 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.3298, allocations: 76.98 kB / 439 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3298, allocations: 2.969 kB / 439 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.33, allocations: 42.95 kB / 439.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.33, allocations: 7.297 kB / 439.1 MB, free: 5.043 MB / 350.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.000141/0.3301, allocations: 156.1 kB / 439.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.3302, allocations: 27.55 kB / 439.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.3303, allocations: 35.58 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3303, allocations: 3.344 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.3303, allocations: 1.094 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3303, allocations: 2.75 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3314, allocations: 0.7635 MB / 440.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3314, allocations: 0 / 440.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3316, allocations: 51.25 kB / 440.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/0.3319, allocations: 86.34 kB / 440.2 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.332, allocations: 7.531 kB / 440.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.3337, allocations: 1.985 MB / 442.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3337, allocations: 0 / 442.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.3344, allocations: 0.4955 MB / 442.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.3345, allocations: 102.5 kB / 442.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.3345, allocations: 10.69 kB / 442.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3347, allocations: 14.02 kB / 442.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.3347, allocations: 29.86 kB / 442.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3347, allocations: 5.953 kB / 442.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3349, allocations: 151.5 kB / 443 MB, free: 2.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 443 MB, free: 2.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.3353, allocations: 109.7 kB / 443.1 MB, free: 2.09 MB / 350.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.0001084/0.3354, allocations: 112.4 kB / 443.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.3358, allocations: 202.7 kB / 443.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3358, allocations: 0.5625 kB / 443.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.3363, allocations: 266.8 kB / 443.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3367, allocations: 38.72 kB / 443.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3379, allocations: 0.8537 MB / 444.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3381, allocations: 0.7847 MB / 445.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.3382, allocations: 28.86 kB / 445.4 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.3383, allocations: 22.28 kB / 445.4 MB, free: 484 kB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3383, allocations: 0 / 445.4 MB, free: 484 kB / 350.1 MB Notification: Performance of Templates: time 0.007799/0.3461, allocations: 3.178 MB / 448.6 MB, free: 248 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.545921099372208]