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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003034/0.003034, allocations: 63.89 kB / 378.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2671, allocations: 53.37 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004585/0.2717, allocations: 3.337 MB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.2741, allocations: 1.432 MB / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2742, allocations: 11.94 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.2746, allocations: 151.1 kB / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/0.2755, allocations: 421.7 kB / 437.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.2759, allocations: 187.5 kB / 437.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.2765, allocations: 462 kB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2767, allocations: 114.7 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.2769, allocations: 175.4 kB / 438.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.2772, allocations: 199.1 kB / 438.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.2772, allocations: 36 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.2776, allocations: 179.8 kB / 438.8 MB, free: 392 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.2776, allocations: 79.7 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.2778, allocations: 199 kB / 439.1 MB, free: 112 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.2785, allocations: 0.5522 MB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2785, allocations: 0 / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2785, allocations: 0 / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2785, allocations: 0 / 439.6 MB, free: 15.56 MB / 350.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.001426/0.2799, allocations: 0.6806 MB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.28, allocations: 8.031 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.2807, allocations: 116.6 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.2812, allocations: 259.9 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2812, allocations: 25.38 kB / 440.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.2812, allocations: 36.38 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.2819, allocations: 357.5 kB / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2819, allocations: 0 / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.2819, allocations: 19.98 kB / 441.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2819, allocations: 8 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.2825, allocations: 245.8 kB / 441.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.2846, allocations: 1.269 MB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.2849, allocations: 185 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.2851, allocations: 81.69 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/0.2859, allocations: 0.5769 MB / 443.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2859, allocations: 34.56 kB / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2859, allocations: 0 / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005758/0.2865, allocations: 229.6 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.2865, allocations: 81.05 kB / 443.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.2868, allocations: 284.2 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2869, allocations: 33.7 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.287, allocations: 248.1 kB / 444.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.2871, allocations: 63.44 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2872, allocations: 65.97 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2874, allocations: 334.8 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2875, allocations: 72.62 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.2878, allocations: 210.4 kB / 445.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.2882, allocations: 284.9 kB / 445.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.2882, allocations: 4 kB / 445.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005605/0.2888, allocations: 320.5 kB / 445.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2888, allocations: 4.562 kB / 445.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2888, allocations: 11.94 kB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2888, allocations: 8 kB / 445.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2891, allocations: 79.83 kB / 445.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.2891, allocations: 11.94 kB / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2893, allocations: 35.77 kB / 445.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2893, allocations: 16 kB / 445.8 MB, free: 8.934 MB / 350.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.0001551/0.2895, allocations: 153.8 kB / 446 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.2896, allocations: 39.73 kB / 446 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.2896, allocations: 29.78 kB / 446 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2896, allocations: 3.938 kB / 446 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2896, allocations: 4 kB / 446 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2896, allocations: 7.922 kB / 446.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.2904, allocations: 486.2 kB / 446.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2904, allocations: 0 / 446.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.2906, allocations: 55.88 kB / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2906, allocations: 4 kB / 446.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2907, allocations: 0 / 446.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2907, allocations: 4 kB / 446.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2907, allocations: 0 / 446.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.2913, allocations: 425.8 kB / 447 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.2913, allocations: 39.67 kB / 447 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.2913, allocations: 8 kB / 447.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2916, allocations: 8 kB / 447.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2916, allocations: 15.97 kB / 447.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2916, allocations: 4 kB / 447.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.2918, allocations: 207.1 kB / 447.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2918, allocations: 0 / 447.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.2922, allocations: 75.89 kB / 447.4 MB, free: 7.316 MB / 350.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.0001659/0.2924, allocations: 119.2 kB / 447.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.2928, allocations: 179.7 kB / 447.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2928, allocations: 4 kB / 447.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.293, allocations: 61.09 kB / 447.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2934, allocations: 43.77 kB / 447.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.2945, allocations: 0.6552 MB / 448.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.295, allocations: 0.7753 MB / 449.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2951, allocations: 34.97 kB / 449.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.2952, allocations: 23.44 kB / 449.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2952, allocations: 0 / 449.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of Templates: time 0.006912/0.3021, allocations: 2.582 MB / 451.8 MB, free: 2.797 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.432123817503452]