Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 145.6 kB / 24.89 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9373/0.9373, allocations: 173.3 MB / 201.5 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.432e-05, allocations: 6.25 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.01278/0.01281, allocations: 3.285 MB / 271.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.01839, allocations: 1.276 MB / 273.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.0186, allocations: 11.94 kB / 273.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.01904, allocations: 154.9 kB / 273.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.02009, allocations: 449.3 kB / 273.7 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.02044, allocations: 163.5 kB / 273.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003649/0.02409, allocations: 469.8 kB / 274.3 MB, free: 364 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.0243, allocations: 103.4 kB / 274.4 MB, free: 256 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.02494, allocations: 291.4 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.02522, allocations: 171.5 kB / 274.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.02528, allocations: 36 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.02557, allocations: 151.8 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.02563, allocations: 95.59 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.02575, allocations: 127.7 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.02625, allocations: 398.5 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.02626, allocations: 3.984 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02626, allocations: 0 / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.02626, allocations: 0 / 275.6 MB, free: 15 MB / 266.7 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.005093/0.03136, allocations: 0.644 MB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001205/0.03148, allocations: 16.92 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/0.03556, allocations: 120.8 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.03587, allocations: 205.1 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.03589, allocations: 25.38 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.03594, allocations: 32.38 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.03635, allocations: 321.8 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.03636, allocations: 4.172 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.03639, allocations: 16.38 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.03641, allocations: 11.94 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.03659, allocations: 83.45 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.0381, allocations: 0.9762 MB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.03834, allocations: 129.1 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.03841, allocations: 45.7 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.03896, allocations: 485.1 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.03899, allocations: 42.55 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.03899, allocations: 0 / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002467/0.03923, allocations: 109.6 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.03927, allocations: 81.11 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.04252, allocations: 266.9 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.04254, allocations: 33.7 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.04266, allocations: 228 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.0427, allocations: 63.47 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.04279, allocations: 61.95 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.04289, allocations: 346.7 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.04295, allocations: 24.64 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.04308, allocations: 162.3 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.0433, allocations: 216.8 kB / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.0433, allocations: 4 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003082/0.04361, allocations: 201.7 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.04363, allocations: 8 kB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.04364, allocations: 4 kB / 280.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.04365, allocations: 8 kB / 280.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.04398, allocations: 91.83 kB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.04399, allocations: 7.984 kB / 280.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.04415, allocations: 35.73 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.04417, allocations: 19.94 kB / 280.7 MB, free: 9.547 MB / 266.7 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.0001021/0.04427, allocations: 137.7 kB / 280.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.04434, allocations: 23.97 kB / 280.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.04438, allocations: 29.8 kB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.04438, allocations: 0 / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.04439, allocations: 0 / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.04439, allocations: 4 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.04483, allocations: 299.4 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.04483, allocations: 0 / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.04504, allocations: 48 kB / 281.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.04505, allocations: 7.984 kB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.04507, allocations: 4 kB / 281.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.04507, allocations: 4.312 kB / 281.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.04507, allocations: 3.938 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.04863, allocations: 302.5 kB / 281.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.04868, allocations: 31.73 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.04871, allocations: 4 kB / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.04889, allocations: 12 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.04893, allocations: 19.94 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.04895, allocations: 8 kB / 281.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.04905, allocations: 88.64 kB / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04905, allocations: 0 / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.04944, allocations: 79.78 kB / 281.8 MB, free: 8.41 MB / 266.7 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.0001439/0.04959, allocations: 112.2 kB / 281.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.04978, allocations: 120.5 kB / 282 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.04979, allocations: 4 kB / 282 MB, free: 8.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.04986, allocations: 37.91 kB / 282 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.05019, allocations: 36.09 kB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.05236, allocations: 0.5764 MB / 282.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.343e-05/0.05243, allocations: 88.31 kB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.05255, allocations: 34.95 kB / 282.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.05267, allocations: 91.36 kB / 282.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05267, allocations: 0 / 282.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of Templates: time 0.005772/0.05844, allocations: 2.433 MB / 285.3 MB, free: 4.867 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.602626168169081]