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.001033/0.001033, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 50.54 MB / 409.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004092/0.2513, allocations: 2.858 MB / 412.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2527, allocations: 0.7556 MB / 412.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.253, allocations: 4 kB / 412.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2532, allocations: 67.41 kB / 412.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.2535, allocations: 99.06 kB / 413 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.2539, allocations: 127.7 kB / 413.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.2543, allocations: 446.8 kB / 413.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.2546, allocations: 224.9 kB / 413.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.2549, allocations: 183.4 kB / 414 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.2552, allocations: 203.1 kB / 414.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.2552, allocations: 48 kB / 414.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2553, allocations: 55.98 kB / 414.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.2554, allocations: 99.67 kB / 414.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.2556, allocations: 215.1 kB / 414.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.2561, allocations: 0.5097 MB / 415.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2561, allocations: 0 / 415.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2562, allocations: 0 / 415.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2562, allocations: 0 / 415.1 MB, free: 11.89 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.001047/0.2572, allocations: 0.6977 MB / 415.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2573, allocations: 8.031 kB / 415.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.2575, allocations: 60.64 kB / 415.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.2578, allocations: 276.5 kB / 416.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.2578, allocations: 33.38 kB / 416.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.2579, allocations: 44.33 kB / 416.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.2586, allocations: 463.5 kB / 416.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2586, allocations: 4 kB / 416.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.2587, allocations: 16 kB / 416.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2587, allocations: 8 kB / 416.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006625/0.2594, allocations: 283.9 kB / 416.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.2613, allocations: 1.303 MB / 418.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.2617, allocations: 246.5 kB / 418.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.2621, allocations: 192.7 kB / 418.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2621, allocations: 8 kB / 418.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2622, allocations: 38.56 kB / 418.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.2622, allocations: 0 / 418.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001323/0.2635, allocations: 0.5542 MB / 419.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.2636, allocations: 235.3 kB / 419.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.2638, allocations: 206.8 kB / 419.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2638, allocations: 37.7 kB / 419.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.2639, allocations: 204.6 kB / 419.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.264, allocations: 111.1 kB / 420.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.2641, allocations: 61.69 kB / 420.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2642, allocations: 334.8 kB / 420.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2644, allocations: 71.97 kB / 420.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2646, allocations: 156.5 kB / 420.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2649, allocations: 200.2 kB / 420.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2649, allocations: 0 / 420.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004272/0.2654, allocations: 277.1 kB / 421.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2654, allocations: 10.97 kB / 421.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2654, allocations: 4.062 kB / 421.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2654, allocations: 4 kB / 421.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.2658, allocations: 75.89 kB / 421.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2658, allocations: 4 kB / 421.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.266, allocations: 39.72 kB / 421.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.266, allocations: 8 kB / 421.3 MB, free: 5.305 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.0001264/0.2661, allocations: 153.7 kB / 421.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.2662, allocations: 27.8 kB / 421.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.2663, allocations: 34.64 kB / 421.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2663, allocations: 4 kB / 421.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.2663, allocations: 4 kB / 421.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2663, allocations: 3.938 kB / 421.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009912/0.2673, allocations: 0.775 MB / 422.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2673, allocations: 0 / 422.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.2676, allocations: 56 kB / 422.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/0.2679, allocations: 88.81 kB / 422.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2679, allocations: 7.984 kB / 422.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.2698, allocations: 1.977 MB / 424.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2698, allocations: 7.969 kB / 424.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.2705, allocations: 0.4974 MB / 424.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.2706, allocations: 112.9 kB / 425 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.2706, allocations: 8 kB / 425 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2708, allocations: 8 kB / 425 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.2708, allocations: 27.91 kB / 425.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2709, allocations: 4 kB / 425.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.271, allocations: 164.5 kB / 425.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.271, allocations: 0 / 425.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.2714, allocations: 103.7 kB / 425.3 MB, free: 1 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.0001168/0.2715, allocations: 99.25 kB / 425.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.2719, allocations: 219.9 kB / 425.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2719, allocations: 4.125 kB / 425.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.2723, allocations: 270.5 kB / 425.9 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2727, allocations: 31.98 kB / 425.9 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2739, allocations: 0.8575 MB / 426.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2742, allocations: 0.787 MB / 427.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.2743, allocations: 17.95 kB / 427.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.2744, allocations: 27.42 kB / 427.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2744, allocations: 4 kB / 427.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Templates: time 0.006522/0.2809, allocations: 3.133 MB / 430.8 MB, free: 11.48 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches