Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 122.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.001993/0.001993, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.89 kB / 359 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2425, allocations: 50.55 MB / 409.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004707/0.2473, allocations: 3.309 MB / 412.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.2498, allocations: 1.405 MB / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.25, allocations: 8 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.2505, allocations: 147 kB / 414.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.2516, allocations: 425.7 kB / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.252, allocations: 179.6 kB / 415 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.2527, allocations: 462 kB / 415.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.253, allocations: 152.2 kB / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.2533, allocations: 175.3 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.2536, allocations: 207.1 kB / 416 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.2537, allocations: 36 kB / 416 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.254, allocations: 171.9 kB / 416.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.2541, allocations: 83.64 kB / 416.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2543, allocations: 195 kB / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.255, allocations: 0.5486 MB / 417 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.255, allocations: 0 / 417 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.255, allocations: 3.938 kB / 417 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2551, allocations: 7.938 kB / 417 MB, free: 10.08 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.001482/0.2565, allocations: 0.7481 MB / 417.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2566, allocations: 8.031 kB / 417.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/0.2573, allocations: 120.6 kB / 417.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.2579, allocations: 317.8 kB / 418.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2579, allocations: 29.38 kB / 418.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.258, allocations: 28.38 kB / 418.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.2586, allocations: 365.6 kB / 418.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2586, allocations: 0 / 418.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.2587, allocations: 15.98 kB / 418.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2587, allocations: 8 kB / 418.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.2592, allocations: 250.1 kB / 418.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.2612, allocations: 1.308 MB / 420.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.2616, allocations: 201.1 kB / 420.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2618, allocations: 85.06 kB / 420.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.263, allocations: 1.204 MB / 421.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2631, allocations: 38.5 kB / 421.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.2631, allocations: 0 / 421.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005883/0.2637, allocations: 209.6 kB / 421.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.2637, allocations: 92.98 kB / 422 MB, free: 4.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.2641, allocations: 287 kB / 422.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.2641, allocations: 37.69 kB / 422.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.2643, allocations: 244 kB / 422.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.2644, allocations: 67.47 kB / 422.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2645, allocations: 61.98 kB / 422.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.2647, allocations: 334.8 kB / 423 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2649, allocations: 72.67 kB / 423.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.2652, allocations: 194.5 kB / 423.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.2656, allocations: 295.8 kB / 423.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2656, allocations: 0 / 423.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005414/0.2662, allocations: 317 kB / 423.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2662, allocations: 11.94 kB / 423.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2662, allocations: 4 kB / 423.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.2662, allocations: 8 kB / 423.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.2665, allocations: 84.39 kB / 424 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2666, allocations: 15.94 kB / 424 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.2667, allocations: 35.72 kB / 424 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2668, allocations: 19.98 kB / 424.1 MB, free: 2.445 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.000151/0.2669, allocations: 149.7 kB / 424.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.267, allocations: 31.81 kB / 424.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.2671, allocations: 33.78 kB / 424.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2671, allocations: 7.922 kB / 424.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2671, allocations: 3.938 kB / 424.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2671, allocations: 4 kB / 424.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/0.2678, allocations: 0.5108 MB / 424.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2678, allocations: 0 / 424.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.2681, allocations: 47.86 kB / 424.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2681, allocations: 0 / 424.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.2681, allocations: 11.98 kB / 424.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2681, allocations: 4.031 kB / 424.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2681, allocations: 0 / 424.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.2687, allocations: 418.6 kB / 425.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.2688, allocations: 108.9 kB / 425.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.2688, allocations: 64 / 425.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.269, allocations: 23.98 kB / 425.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.2691, allocations: 15.92 kB / 425.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.2691, allocations: 12.05 kB / 425.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.2693, allocations: 202 kB / 425.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2694, allocations: 0 / 425.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.2698, allocations: 83.78 kB / 425.7 MB, free: 0.6992 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.0001853/0.27, allocations: 107.2 kB / 425.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.2704, allocations: 196.4 kB / 426 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2704, allocations: 0 / 426 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2706, allocations: 71.91 kB / 426.1 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.271, allocations: 28.81 kB / 426.1 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2721, allocations: 0.6645 MB / 426.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2725, allocations: 0.7714 MB / 427.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.2726, allocations: 30.97 kB / 427.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.2727, allocations: 31.42 kB / 427.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2727, allocations: 0 / 427.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Templates: time 0.006332/0.279, allocations: 2.408 MB / 430 MB, free: 12.38 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches