Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 170.6 kB / 24.82 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9198/0.9198, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.788e-05, allocations: 2.312 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004946/0.004974, allocations: 3.249 MB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.007311, allocations: 1.355 MB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.007532, allocations: 11.94 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.007969, allocations: 139 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.009006, allocations: 425.5 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.009406, allocations: 175.4 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006729/0.01008, allocations: 477.8 kB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.0103, allocations: 104.8 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.01076, allocations: 299.4 kB / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.01106, allocations: 179.5 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.01112, allocations: 32 kB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.01144, allocations: 159.7 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.0115, allocations: 83.61 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.01165, allocations: 131.7 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.01227, allocations: 418.5 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01227, allocations: 4 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01228, allocations: 0 / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01228, allocations: 4 kB / 280.6 MB, free: 10.11 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.001208/0.01349, allocations: 0.7725 MB / 281.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.01353, allocations: 8.031 kB / 281.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.01409, allocations: 140.5 kB / 281.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.01433, allocations: 252.8 kB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.01435, allocations: 29.38 kB / 281.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.01439, allocations: 32.33 kB / 281.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.01473, allocations: 331.4 kB / 282.1 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01475, allocations: 192 / 282.1 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.01477, allocations: 16.38 kB / 282.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01479, allocations: 11.94 kB / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.01495, allocations: 97.84 kB / 282.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.01639, allocations: 1.234 MB / 283.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.01661, allocations: 146.1 kB / 283.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.249e-05/0.01667, allocations: 55.34 kB / 283.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/0.01728, allocations: 0.7251 MB / 284.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.0173, allocations: 45.33 kB / 284.4 MB, free: 6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.01731, allocations: 0 / 284.4 MB, free: 6 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002827/0.01759, allocations: 137.4 kB / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.01763, allocations: 81.11 kB / 284.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.01789, allocations: 338.1 kB / 285 MB, free: 5.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.0179, allocations: 29.7 kB / 285 MB, free: 5.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.01806, allocations: 298.7 kB / 285.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.0181, allocations: 63.47 kB / 285.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.723e-05/0.01819, allocations: 71.61 kB / 285.4 MB, free: 4.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01834, allocations: 0.5195 MB / 286 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.01839, allocations: 20.64 kB / 286 MB, free: 4.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.01855, allocations: 222.9 kB / 286.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.01881, allocations: 281.4 kB / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01881, allocations: 0 / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00037/0.01918, allocations: 241.5 kB / 286.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.0192, allocations: 12.03 kB / 286.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.01921, allocations: 4.25 kB / 286.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.01923, allocations: 8 kB / 286.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.01948, allocations: 83.84 kB / 286.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.01949, allocations: 7.984 kB / 286.8 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.01966, allocations: 35.73 kB / 286.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.01968, allocations: 16 kB / 286.9 MB, free: 3.32 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.0001246/0.0198, allocations: 184.4 kB / 287 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.01987, allocations: 39.8 kB / 287.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.01999, allocations: 25.8 kB / 287.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01999, allocations: 4 kB / 287.1 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.02, allocations: 3.938 kB / 287.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02, allocations: 0 / 287.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.02052, allocations: 409.5 kB / 287.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02052, allocations: 0 / 287.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.02067, allocations: 39.97 kB / 287.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.02067, allocations: 4 kB / 287.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.02068, allocations: 8.031 kB / 287.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.02069, allocations: 0 / 287.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02069, allocations: 4 kB / 287.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.021, allocations: 437.6 kB / 288 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.02103, allocations: 27.8 kB / 288 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.02106, allocations: 4 kB / 288 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.0212, allocations: 12 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.02124, allocations: 15.91 kB / 288.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.02125, allocations: 4 kB / 288.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.02138, allocations: 219 kB / 288.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02138, allocations: 4 kB / 288.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.02176, allocations: 83.78 kB / 288.4 MB, free: 1.75 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.0001346/0.0219, allocations: 115.2 kB / 288.5 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.02209, allocations: 126.9 kB / 288.6 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02209, allocations: 0 / 288.6 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.02215, allocations: 55.52 kB / 288.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.02477, allocations: 34.95 kB / 288.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.02603, allocations: 0.598 MB / 289.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.0261, allocations: 84.31 kB / 289.4 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.02622, allocations: 34.95 kB / 289.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.02634, allocations: 114.2 kB / 289.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02635, allocations: 0 / 289.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of Templates: time 0.005974/0.03232, allocations: 2.416 MB / 291.9 MB, free: 14.15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.5898353359661996]