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.00108/0.00108, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.26, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00363/0.2637, allocations: 2.832 MB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2649, allocations: 0.7673 MB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.265, allocations: 4 kB / 412.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2651, allocations: 59.42 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.2653, allocations: 103 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.2657, allocations: 123.8 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.2661, allocations: 446.8 kB / 413.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.2664, allocations: 216.9 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.2667, allocations: 187.3 kB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.267, allocations: 215.1 kB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.2671, allocations: 48 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2672, allocations: 48 kB / 414.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.2673, allocations: 95.75 kB / 414.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2674, allocations: 223 kB / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.2678, allocations: 0.4955 MB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2679, allocations: 3.938 kB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2679, allocations: 0 / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.2679, allocations: 0 / 415.1 MB, free: 11.74 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.0009874/0.2689, allocations: 0.6865 MB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2689, allocations: 8.031 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.2691, allocations: 60.36 kB / 415.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.2694, allocations: 284.3 kB / 416.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2695, allocations: 33.38 kB / 416.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.2695, allocations: 44.38 kB / 416.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.2702, allocations: 459.5 kB / 416.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2702, allocations: 4 kB / 416.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.2703, allocations: 20 kB / 416.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.2703, allocations: 8 kB / 416.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.2708, allocations: 283.9 kB / 416.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2726, allocations: 1.306 MB / 418.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.273, allocations: 239.8 kB / 418.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.2734, allocations: 196.7 kB / 418.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2734, allocations: 3.984 kB / 418.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2734, allocations: 38.56 kB / 418.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.2735, allocations: 0 / 418.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001317/0.2748, allocations: 0.554 MB / 419.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2749, allocations: 235.3 kB / 419.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2751, allocations: 210.8 kB / 419.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.2751, allocations: 33.7 kB / 419.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2752, allocations: 200.2 kB / 419.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.2753, allocations: 110.4 kB / 420 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.2754, allocations: 57.7 kB / 420.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2755, allocations: 330.8 kB / 420.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2757, allocations: 75.97 kB / 420.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.2759, allocations: 160.5 kB / 420.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.2762, allocations: 204.1 kB / 420.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2763, allocations: 4 kB / 420.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004279/0.2767, allocations: 273 kB / 421.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2767, allocations: 8 kB / 421.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2767, allocations: 0 / 421.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2767, allocations: 4 kB / 421.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.2771, allocations: 79.89 kB / 421.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2771, allocations: 4 kB / 421.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2773, allocations: 31.67 kB / 421.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2773, allocations: 20 kB / 421.3 MB, free: 5.152 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.0001297/0.2774, allocations: 153.7 kB / 421.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.2775, allocations: 27.66 kB / 421.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.2776, allocations: 30.64 kB / 421.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2776, allocations: 4 kB / 421.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2776, allocations: 4 kB / 421.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2776, allocations: 0 / 421.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.2786, allocations: 0.7711 MB / 422.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2786, allocations: 0 / 422.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2788, allocations: 47.97 kB / 422.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.2791, allocations: 88.8 kB / 422.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.2792, allocations: 4 kB / 422.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.2812, allocations: 1.985 MB / 424.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2812, allocations: 4 kB / 424.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.2819, allocations: 0.4971 MB / 424.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.282, allocations: 100.8 kB / 425 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.282, allocations: 12.19 kB / 425 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2822, allocations: 12.06 kB / 425 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.2823, allocations: 31.89 kB / 425 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2823, allocations: 8 kB / 425 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2824, allocations: 152.5 kB / 425.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2824, allocations: 0 / 425.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.2828, allocations: 111.5 kB / 425.3 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.0001264/0.2829, allocations: 103.2 kB / 425.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.2833, allocations: 215.9 kB / 425.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2833, allocations: 0 / 425.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.2838, allocations: 274.5 kB / 425.9 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.2842, allocations: 32.17 kB / 425.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2853, allocations: 0.835 MB / 426.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2856, allocations: 0.7869 MB / 427.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.2857, allocations: 29.92 kB / 427.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.2858, allocations: 23.44 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2858, allocations: 0 / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006212/0.292, allocations: 3.128 MB / 430.7 MB, free: 11.37 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