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.0008636/0.0008636, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008466/0.0008466, allocations: 166.8 kB / 24.92 MB, free: 8.781 MB / 18.57 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 0.8438/0.8438, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.212e-05, allocations: 10.19 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002952/0.002964, allocations: 2.753 MB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004021, allocations: 0.7902 MB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004126, allocations: 12 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.004231, allocations: 59.36 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.004432, allocations: 103 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.004751, allocations: 131.7 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.005045, allocations: 458.6 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.005225, allocations: 163.3 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.00546, allocations: 287.4 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.0056, allocations: 147.5 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.005641, allocations: 48 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.005706, allocations: 48 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.005756, allocations: 103.7 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.005847, allocations: 159.6 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.006091, allocations: 330.7 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.006093, allocations: 0 / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006093, allocations: 0 / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.006097, allocations: 0 / 278.9 MB, free: 11.67 MB / 266.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.0005441/0.006641, allocations: 0.5976 MB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.563e-05/0.006667, allocations: 11.98 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.006806, allocations: 80.88 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.006961, allocations: 181.8 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.00698, allocations: 37.38 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.007024, allocations: 44.38 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.007343, allocations: 0.5238 MB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.007358, allocations: 12.16 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.007378, allocations: 16.38 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.007387, allocations: 11.94 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.007744, allocations: 115 kB / 280.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.008601, allocations: 0.9114 MB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.008777, allocations: 149.3 kB / 281.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.00891, allocations: 120.7 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.008925, allocations: 4 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.008946, allocations: 42.5 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.133e-06/0.008947, allocations: 0 / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005391/0.009487, allocations: 331.4 kB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.009547, allocations: 239.3 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.009633, allocations: 182.5 kB / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.009648, allocations: 29.7 kB / 282.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.009718, allocations: 200.5 kB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.009763, allocations: 115 kB / 282.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.009818, allocations: 65.66 kB / 282.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.009889, allocations: 326.8 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.009922, allocations: 27.98 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01004, allocations: 292.2 kB / 283.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01014, allocations: 128.5 kB / 283.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01014, allocations: 0 / 283.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001405/0.01029, allocations: 153.4 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.01029, allocations: 4.062 kB / 283.8 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.0103, allocations: 4 kB / 283.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01031, allocations: 4 kB / 283.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.01047, allocations: 83.89 kB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01048, allocations: 7.938 kB / 283.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.01054, allocations: 23.84 kB / 283.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01055, allocations: 8 kB / 283.9 MB, free: 6.258 MB / 266.7 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 6.747e-05/0.01062, allocations: 129.8 kB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.01065, allocations: 19.98 kB / 284.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.01067, allocations: 30.64 kB / 284.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01068, allocations: 8 kB / 284.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01068, allocations: 4 kB / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01068, allocations: 7.875 kB / 284.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.01108, allocations: 442.1 kB / 284.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01108, allocations: 0 / 284.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.01121, allocations: 55.91 kB / 284.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.01139, allocations: 88.73 kB / 284.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.0114, allocations: 8 kB / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008017/0.0122, allocations: 1.487 MB / 286.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.0122, allocations: 0 / 286.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.0125, allocations: 349.5 kB / 286.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.01251, allocations: 23.8 kB / 286.6 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01253, allocations: 8 kB / 286.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.0126, allocations: 8 kB / 286.6 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.01264, allocations: 31.88 kB / 286.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.01264, allocations: 4 kB / 286.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.01267, allocations: 53.84 kB / 286.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01267, allocations: 0 / 286.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01287, allocations: 107.7 kB / 286.8 MB, free: 3.266 MB / 266.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 (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 6.55e-05/0.01293, allocations: 80.36 kB / 286.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01307, allocations: 125.3 kB / 287 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.01308, allocations: 0 / 287 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.01327, allocations: 254.9 kB / 287.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.01343, allocations: 36.12 kB / 287.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.01422, allocations: 0.6223 MB / 287.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.903e-05/0.01427, allocations: 96.3 kB / 288 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.01432, allocations: 21.95 kB / 288 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01442, allocations: 103.3 kB / 288.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01442, allocations: 0 / 288.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of Templates: time 0.00455/0.01897, allocations: 3.29 MB / 291.4 MB, free: 14.61 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.389491548296064]