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.001545/0.001545, allocations: 121.4 kB / 18.51 MB, free: 4.539 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.001685/0.001685, allocations: 213.6 kB / 21.46 MB, free: 1.59 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001833/0.001833, allocations: 71.88 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.0974, allocations: 53.31 MB / 427.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004784/0.1022, allocations: 3.325 MB / 430.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1822/0.2844, allocations: 1.409 MB / 431.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.2847, allocations: 7.656 kB / 431.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.2852, allocations: 145.4 kB / 432 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000878/0.2861, allocations: 436.8 kB / 432.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.2864, allocations: 174.3 kB / 432.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.2869, allocations: 460.8 kB / 433.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.2871, allocations: 123.4 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2873, allocations: 167.7 kB / 433.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.2875, allocations: 204.7 kB / 433.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.2875, allocations: 35.06 kB / 433.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.2878, allocations: 172.7 kB / 433.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.2878, allocations: 81.36 kB / 433.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.288, allocations: 193.1 kB / 434 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.2885, allocations: 0.5538 MB / 434.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2885, allocations: 5.719 kB / 434.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2885, allocations: 1.125 kB / 434.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.2885, allocations: 0 / 434.6 MB, free: 7.801 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.001285/0.2898, allocations: 0.7526 MB / 435.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.2898, allocations: 9.75 kB / 435.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.2905, allocations: 116.8 kB / 435.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.2909, allocations: 321.8 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.291, allocations: 29.41 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.291, allocations: 32.59 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.2917, allocations: 359.5 kB / 436.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2917, allocations: 1.031 kB / 436.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2917, allocations: 12.31 kB / 436.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.2917, allocations: 7.531 kB / 436.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.2922, allocations: 251.8 kB / 436.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.294, allocations: 1.318 MB / 437.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.2944, allocations: 190.1 kB / 438 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2945, allocations: 76.66 kB / 438 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007152/0.2953, allocations: 1.205 MB / 439.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2953, allocations: 37.12 kB / 439.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2953, allocations: 0 / 439.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000533/0.2958, allocations: 219.5 kB / 439.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.2958, allocations: 85.41 kB / 439.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.2961, allocations: 288.9 kB / 439.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2961, allocations: 34.7 kB / 439.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2962, allocations: 236.2 kB / 440.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.2963, allocations: 71.92 kB / 440.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.2963, allocations: 62.81 kB / 440.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.2964, allocations: 337.8 kB / 440.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2966, allocations: 67.67 kB / 440.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.2967, allocations: 200.4 kB / 440.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.2971, allocations: 287.4 kB / 441.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2971, allocations: 3.203 kB / 441.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004917/0.2976, allocations: 321 kB / 441.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2976, allocations: 7.766 kB / 441.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2976, allocations: 8.281 kB / 441.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2976, allocations: 5.719 kB / 441.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.2979, allocations: 89.06 kB / 441.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.2979, allocations: 16.64 kB / 441.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2981, allocations: 34.48 kB / 441.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.2981, allocations: 18.02 kB / 441.6 MB, free: 3.219 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.0001049/0.2982, allocations: 155.8 kB / 441.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.2983, allocations: 33.05 kB / 441.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.2983, allocations: 28.81 kB / 441.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2983, allocations: 10.53 kB / 441.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2984, allocations: 1.844 kB / 441.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2984, allocations: 4.891 kB / 441.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.299, allocations: 0.5045 MB / 442.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.299, allocations: 0.7031 kB / 442.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.2992, allocations: 49.28 kB / 442.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2992, allocations: 1.875 kB / 442.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2992, allocations: 6.359 kB / 442.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2992, allocations: 6.219 kB / 442.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2992, allocations: 1.922 kB / 442.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.2997, allocations: 425 kB / 442.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.2997, allocations: 105.2 kB / 442.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.2998, allocations: 10.64 kB / 442.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3, allocations: 12.23 kB / 443 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.3, allocations: 14.73 kB / 443 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3001, allocations: 4.828 kB / 443 MB, free: 2.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.3002, allocations: 200.1 kB / 443.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3002, allocations: 1.125 kB / 443.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.3006, allocations: 81.78 kB / 443.3 MB, free: 2.062 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.0001245/0.3008, allocations: 117.7 kB / 443.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.3011, allocations: 184.1 kB / 443.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3011, allocations: 0 / 443.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3013, allocations: 70.3 kB / 443.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3017, allocations: 32.8 kB / 443.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3028, allocations: 0.6675 MB / 444.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.303, allocations: 0.7745 MB / 445.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.3031, allocations: 33.02 kB / 445.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.3032, allocations: 25.2 kB / 445.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3032, allocations: 0 / 445.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Templates: time 0.006359/0.3095, allocations: 2.439 MB / 447.6 MB, free: 0.5195 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.506685535423458]