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.001639/0.001639, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 204.6 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.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2486, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004032/0.2527, allocations: 3.306 MB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2546, allocations: 1.405 MB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2548, allocations: 11.94 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.2552, allocations: 139.1 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.256, allocations: 425.7 kB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2564, allocations: 183 kB / 414.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.257, allocations: 470 kB / 415.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.2572, allocations: 152.2 kB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2574, allocations: 167.4 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.2577, allocations: 207.1 kB / 415.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.2577, allocations: 36 kB / 415.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.258, allocations: 171.9 kB / 415.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.2581, allocations: 87.62 kB / 416 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2583, allocations: 195 kB / 416.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.2589, allocations: 0.5462 MB / 416.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2589, allocations: 3.938 kB / 416.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2589, allocations: 0 / 416.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2589, allocations: 0 / 416.7 MB, free: 10.11 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.001347/0.2602, allocations: 0.741 MB / 417.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2603, allocations: 8.031 kB / 417.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/0.261, allocations: 120.3 kB / 417.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.2615, allocations: 313.7 kB / 417.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2615, allocations: 29.38 kB / 417.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.2616, allocations: 36.28 kB / 417.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.2621, allocations: 357.6 kB / 418.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2621, allocations: 0 / 418.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.2622, allocations: 16 kB / 418.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2622, allocations: 12 kB / 418.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.2627, allocations: 246.1 kB / 418.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.2645, allocations: 1.311 MB / 419.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.2649, allocations: 197.1 kB / 420 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.2651, allocations: 89.78 kB / 420.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008941/0.266, allocations: 1.196 MB / 421.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.266, allocations: 38.55 kB / 421.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.266, allocations: 0 / 421.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005192/0.2665, allocations: 225.2 kB / 421.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.2666, allocations: 81.05 kB / 421.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.2669, allocations: 282.9 kB / 421.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2669, allocations: 33.7 kB / 422 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.267, allocations: 247.5 kB / 422.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.2671, allocations: 55.17 kB / 422.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/0.2672, allocations: 69.92 kB / 422.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2673, allocations: 330.8 kB / 422.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2674, allocations: 68.88 kB / 422.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.2677, allocations: 202.4 kB / 422.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.268, allocations: 288.9 kB / 423.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.2681, allocations: 4 kB / 423.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005026/0.2686, allocations: 317.1 kB / 423.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2686, allocations: 4 kB / 423.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2686, allocations: 4 kB / 423.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2686, allocations: 8 kB / 423.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.2689, allocations: 79.78 kB / 423.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.269, allocations: 15.92 kB / 423.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.2691, allocations: 47.84 kB / 423.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2692, 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.0001329/0.2693, allocations: 149.8 kB / 423.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.2694, allocations: 27.7 kB / 423.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.2695, allocations: 29.78 kB / 423.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2695, allocations: 3.938 kB / 423.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2695, allocations: 4 kB / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2695, allocations: 0 / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.2701, allocations: 0.5147 MB / 424.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2701, allocations: 0 / 424.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.2703, allocations: 51.84 kB / 424.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2704, allocations: 4 kB / 424.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2704, allocations: 0 / 424.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.2704, allocations: 4 kB / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2704, allocations: 0 / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.2709, allocations: 421.9 kB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.271, allocations: 112.6 kB / 425 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.271, allocations: 11.98 kB / 425 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2712, allocations: 19.98 kB / 425 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2713, allocations: 11.98 kB / 425 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2713, allocations: 4 kB / 425 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.2715, allocations: 202 kB / 425.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2715, allocations: 0 / 425.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.2719, allocations: 83.75 kB / 425.3 MB, free: 0.7539 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.0001524/0.2721, allocations: 119.3 kB / 425.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.2724, allocations: 184.4 kB / 425.6 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.2725, allocations: 8.375 kB / 425.6 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.2726, allocations: 67.91 kB / 425.7 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.273, allocations: 35.22 kB / 425.7 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.274, allocations: 0.6509 MB / 426.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2743, allocations: 0.7753 MB / 427.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.2744, allocations: 34.95 kB / 427.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.2745, allocations: 23.44 kB / 427.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2745, allocations: 0 / 427.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Templates: time 0.00579/0.2803, allocations: 2.438 MB / 429.7 MB, free: 12.39 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