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.00104/0.00104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002477, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001036/0.001036, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002361, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8773/0.8773, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07573/0.9531, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.062e-06/1.062e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.833e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003005/0.003023, allocations: 3.313 MB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.004508, allocations: 1.409 MB / 249.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004639, allocations: 11.94 kB / 249.3 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.004873, allocations: 139 kB / 249.4 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.005431, allocations: 425.3 kB / 249.8 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.005662, allocations: 179.5 kB / 250 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.006054, allocations: 477.8 kB / 250.4 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.006198, allocations: 113.5 kB / 250.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.00647, allocations: 336 kB / 250.9 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.006643, allocations: 179.5 kB / 251.1 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.006678, allocations: 36 kB / 251.1 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.006908, allocations: 163.7 kB / 251.3 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.006947, allocations: 63.75 kB / 251.3 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.007026, allocations: 107.8 kB / 251.4 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.007369, allocations: 374.7 kB / 251.8 MB, free: 7.008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.007382, allocations: 0 / 251.8 MB, free: 7.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.007382, allocations: 3.938 kB / 251.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.007395, allocations: 0 / 251.8 MB, free: 7.004 MB / 250.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.0008228/0.008218, allocations: 0.8166 MB / 252.6 MB, free: 6.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.008244, allocations: 8.031 kB / 252.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.008581, allocations: 144.6 kB / 252.8 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.008778, allocations: 210 kB / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.008795, allocations: 21.38 kB / 253 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.008831, allocations: 40.38 kB / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.009084, allocations: 325.7 kB / 253.3 MB, free: 5.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.009093, allocations: 192 / 253.3 MB, free: 5.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.009112, allocations: 16.38 kB / 253.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.009119, allocations: 11.94 kB / 253.4 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.009223, allocations: 79.45 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008744/0.0101, allocations: 0.9879 MB / 254.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01025, allocations: 125.1 kB / 254.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.01028, allocations: 49.22 kB / 254.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.01065, allocations: 0.505 MB / 255.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.01067, allocations: 42.55 kB / 255.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.01067, allocations: 0 / 255.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001612/0.01083, allocations: 109.5 kB / 255.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.01086, allocations: 85.11 kB / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.011, allocations: 270.9 kB / 255.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.01101, allocations: 25.7 kB / 255.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.01108, allocations: 228.5 kB / 255.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.01111, allocations: 59.47 kB / 255.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.01117, allocations: 73.94 kB / 256 MB, free: 2.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.01124, allocations: 346.6 kB / 256.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.01126, allocations: 24.64 kB / 256.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.01134, allocations: 158.4 kB / 256.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.01148, allocations: 216.8 kB / 256.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01148, allocations: 0 / 256.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001608/0.01164, allocations: 205.1 kB / 256.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01165, allocations: 8 kB / 256.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01166, allocations: 4 kB / 256.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.01167, allocations: 4.562 kB / 256.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.01188, allocations: 103.9 kB / 257 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01189, allocations: 7.938 kB / 257 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.01197, allocations: 35.73 kB / 257.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01198, allocations: 23.92 kB / 257.1 MB, free: 1.293 MB / 250.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 6.566e-05/0.01205, allocations: 125.7 kB / 257.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.01208, allocations: 19.98 kB / 257.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.01211, allocations: 33.8 kB / 257.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.01211, allocations: 0 / 257.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01211, allocations: 4 kB / 257.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01212, allocations: 3.984 kB / 257.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.01237, allocations: 307.3 kB / 257.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01237, allocations: 0 / 257.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01249, allocations: 51.91 kB / 257.6 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.01251, allocations: 27.78 kB / 257.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01251, allocations: 0 / 257.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.01252, allocations: 8 kB / 257.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01253, allocations: 4.25 kB / 257.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01253, allocations: 4.109 kB / 257.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.0127, allocations: 304 kB / 258 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.01272, allocations: 4 kB / 258 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.0128, allocations: 12 kB / 258 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01283, allocations: 19.91 kB / 258 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.01283, allocations: 0 / 258 MB, free: 328 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.01289, allocations: 96.64 kB / 258.1 MB, free: 228 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01289, allocations: 0 / 258.1 MB, free: 228 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.0131, allocations: 87.73 kB / 258.2 MB, free: 140 kB / 250.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 8.819e-05/0.01319, allocations: 112.4 kB / 258.3 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01333, allocations: 132.1 kB / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.01334, allocations: 4 kB / 258.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.01338, allocations: 48.7 kB / 258.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01358, allocations: 48.97 kB / 258.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.01616, allocations: 0.6109 MB / 259.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.01621, allocations: 88.31 kB / 259.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.017e-05/0.01628, allocations: 30.97 kB / 259.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.01636, allocations: 91.36 kB / 259.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01636, allocations: 0 / 259.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of Templates: time 0.004179/0.02054, allocations: 2.53 MB / 261.9 MB, free: 12.44 MB / 266.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 -ignoreHideResult -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.306335479952395]