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.001355/0.001355, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 55.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.24, allocations: 50.55 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004104/0.2442, allocations: 3.298 MB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2461, allocations: 1.409 MB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.2463, allocations: 8 kB / 414.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.2467, allocations: 147 kB / 414.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.2476, allocations: 421.7 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.248, allocations: 179.5 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.2486, allocations: 462 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.2489, allocations: 160.2 kB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.2491, allocations: 171.3 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.2494, allocations: 207.1 kB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.2494, allocations: 36 kB / 416.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.2498, allocations: 171.9 kB / 416.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.2498, allocations: 87.62 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.25, allocations: 191 kB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.2506, allocations: 0.554 MB / 417.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2506, allocations: 3.938 kB / 417.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2506, allocations: 0 / 417.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2506, allocations: 0 / 417.4 MB, free: 10.15 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.0013/0.2519, allocations: 0.7449 MB / 418.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.252, allocations: 8.031 kB / 418.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/0.2527, allocations: 112.3 kB / 418.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.2532, allocations: 313.7 kB / 418.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2532, allocations: 29.38 kB / 418.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.2533, allocations: 36.28 kB / 418.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.2538, allocations: 361.6 kB / 419 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2539, allocations: 0 / 419 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.2539, allocations: 16 kB / 419 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2539, allocations: 8 kB / 419 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2544, allocations: 242.1 kB / 419.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2563, allocations: 1.304 MB / 420.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.2566, allocations: 205.1 kB / 420.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2568, allocations: 81.8 kB / 420.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/0.2577, allocations: 1.204 MB / 422 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2577, allocations: 42.5 kB / 422.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.2577, allocations: 0 / 422.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005134/0.2583, allocations: 225.5 kB / 422.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2583, allocations: 85.03 kB / 422.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.2586, allocations: 282.9 kB / 422.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2586, allocations: 33.7 kB / 422.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.2587, allocations: 235.5 kB / 422.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.2588, allocations: 63.14 kB / 423 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.2589, allocations: 61.94 kB / 423 MB, free: 4.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.259, allocations: 338.8 kB / 423.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2592, allocations: 76.61 kB / 423.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.2594, allocations: 198.4 kB / 423.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2598, allocations: 284.4 kB / 423.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2598, allocations: 4 kB / 423.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000514/0.2603, allocations: 320.9 kB / 424.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2603, allocations: 4.562 kB / 424.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2603, allocations: 8 kB / 424.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2604, allocations: 8 kB / 424.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.2607, allocations: 87.77 kB / 424.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2607, allocations: 7.938 kB / 424.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.2609, allocations: 43.52 kB / 424.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2609, allocations: 20 kB / 424.4 MB, free: 2.531 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.000136/0.2611, allocations: 149.8 kB / 424.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.2612, allocations: 27.72 kB / 424.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.2612, allocations: 29.78 kB / 424.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2612, allocations: 7.938 kB / 424.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2612, allocations: 0 / 424.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2612, allocations: 0 / 424.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.2619, allocations: 0.5108 MB / 425.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2619, allocations: 0 / 425.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2621, allocations: 55.88 kB / 425.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2621, allocations: 4 kB / 425.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2622, allocations: 0 / 425.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2622, allocations: 4 kB / 425.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2622, allocations: 0 / 425.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.2627, allocations: 419.4 kB / 425.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.2628, allocations: 104.6 kB / 425.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.2628, allocations: 12.3 kB / 425.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.263, allocations: 8 kB / 425.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.2631, allocations: 19.92 kB / 425.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.2631, allocations: 11.98 kB / 425.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.2633, allocations: 198 kB / 425.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2633, allocations: 4.062 kB / 425.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.2637, allocations: 83.75 kB / 426 MB, free: 0.8008 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.0001444/0.2639, allocations: 107.2 kB / 426.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.2643, allocations: 195.5 kB / 426.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2643, allocations: 0 / 426.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2644, allocations: 71.89 kB / 426.4 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.2648, allocations: 37.33 kB / 426.4 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2659, allocations: 0.6867 MB / 427.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2662, allocations: 0.7714 MB / 427.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.2663, allocations: 27.42 kB / 427.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2663, allocations: 0 / 427.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Templates: time 0.00504/0.2713, allocations: 3.504 MB / 431.4 MB, free: 11.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/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