Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.88 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.257, allocations: 50.55 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004045/0.2611, allocations: 3.305 MB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.2631, allocations: 1.409 MB / 414 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2632, allocations: 12 kB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.2636, allocations: 143.1 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.2645, allocations: 421.7 kB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.2648, allocations: 183.5 kB / 414.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.2653, allocations: 462 kB / 415.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.2656, allocations: 156.2 kB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2658, allocations: 175.3 kB / 415.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.266, allocations: 207.1 kB / 415.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.2661, allocations: 32 kB / 415.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.2664, allocations: 167.8 kB / 415.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.2665, allocations: 87.67 kB / 416 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2666, allocations: 195 kB / 416.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.2672, allocations: 0.5423 MB / 416.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2672, allocations: 15.94 kB / 416.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2672, allocations: 0 / 416.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2672, allocations: 3.938 kB / 416.7 MB, free: 10.1 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001283/0.2685, allocations: 0.7332 MB / 417.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2685, allocations: 12.03 kB / 417.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007344/0.2693, allocations: 120.3 kB / 417.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.2697, allocations: 317.7 kB / 417.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2698, allocations: 21.38 kB / 417.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.2698, allocations: 36.28 kB / 417.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.2705, allocations: 357.6 kB / 418.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2706, allocations: 0 / 418.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.2706, allocations: 16 kB / 418.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2706, allocations: 8 kB / 418.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.2712, allocations: 250.1 kB / 418.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.2731, allocations: 1.311 MB / 419.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.2736, allocations: 196.7 kB / 420.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2738, allocations: 89.72 kB / 420.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/0.2747, allocations: 1.2 MB / 421.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2748, allocations: 38.56 kB / 421.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2748, allocations: 0 / 421.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005588/0.2753, allocations: 221.2 kB / 421.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2754, allocations: 89.05 kB / 421.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.2757, allocations: 286.9 kB / 422 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2757, allocations: 25.7 kB / 422 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.2759, allocations: 243.5 kB / 422.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.2759, allocations: 55.17 kB / 422.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.276, allocations: 65.92 kB / 422.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2762, allocations: 338.8 kB / 422.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2764, allocations: 68.56 kB / 422.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.2766, allocations: 198.4 kB / 422.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.277, allocations: 288.9 kB / 423.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.277, allocations: 0 / 423.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005478/0.2776, allocations: 316.9 kB / 423.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2776, allocations: 11.98 kB / 423.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2776, allocations: 4 kB / 423.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2776, allocations: 8.562 kB / 423.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.2779, allocations: 91.72 kB / 423.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2779, allocations: 7.984 kB / 423.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.2781, allocations: 43.53 kB / 423.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2782, allocations: 16 kB / 423.7 MB, free: 2.488 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001288/0.2783, allocations: 149.7 kB / 423.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.2784, allocations: 27.72 kB / 423.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.2784, allocations: 25.78 kB / 423.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2785, allocations: 11.94 kB / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2785, allocations: 3.984 kB / 423.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2785, allocations: 0 / 423.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.2793, allocations: 0.5149 MB / 424.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2793, allocations: 0 / 424.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.2795, allocations: 47.91 kB / 424.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2795, allocations: 0 / 424.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2795, allocations: 12.03 kB / 424.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2795, allocations: 0 / 424.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2795, allocations: 0 / 424.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.2801, allocations: 415.2 kB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.2801, allocations: 120.7 kB / 425 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.2802, allocations: 0 / 425 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2804, allocations: 19.92 kB / 425 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.2804, allocations: 11.98 kB / 425 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2805, allocations: 8 kB / 425.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.2807, allocations: 194 kB / 425.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2807, allocations: 4 kB / 425.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.2811, allocations: 79.75 kB / 425.3 MB, free: 0.7617 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.2813, allocations: 119.2 kB / 425.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.2817, allocations: 187.9 kB / 425.6 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2817, allocations: 3.938 kB / 425.6 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.2819, allocations: 71.91 kB / 425.7 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2823, allocations: 35.22 kB / 425.7 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2833, allocations: 0.6479 MB / 426.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2837, allocations: 0.7753 MB / 427.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.2838, allocations: 34.97 kB / 427.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.2839, allocations: 19.44 kB / 427.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2839, allocations: 0 / 427.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Templates: time 0.005641/0.2895, allocations: 2.41 MB / 429.6 MB, free: 12.42 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches