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.001915/0.001915, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002368/0.002368, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001599/0.001599, allocations: 48.06 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2237, allocations: 53.37 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004926/0.2286, allocations: 3.33 MB / 435 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.231, allocations: 1.435 MB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2311, allocations: 11.94 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.2316, allocations: 147.1 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.2326, allocations: 433.7 kB / 437 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.233, allocations: 187.5 kB / 437.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.2336, allocations: 462.1 kB / 437.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.2339, allocations: 108.7 kB / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.2341, allocations: 183.2 kB / 437.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.2344, allocations: 195.2 kB / 438.1 MB, free: 444 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.2345, allocations: 36 kB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.2348, allocations: 179.7 kB / 438.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.2349, allocations: 83.62 kB / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.2351, allocations: 195.1 kB / 438.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.2358, allocations: 0.5483 MB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2358, allocations: 3.938 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2358, allocations: 4 kB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.2358, allocations: 0 / 439.1 MB, free: 15.39 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.001441/0.2372, allocations: 0.6767 MB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2373, allocations: 8.031 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007611/0.238, allocations: 116.6 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.2385, allocations: 259.7 kB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2386, allocations: 29.38 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.2386, allocations: 28.38 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.2392, allocations: 361.5 kB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2393, allocations: 0 / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.2393, allocations: 12 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2393, allocations: 8 kB / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.2398, allocations: 257.8 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.2419, allocations: 1.265 MB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.2423, allocations: 189.1 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2425, allocations: 81.67 kB / 442.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/0.2433, allocations: 0.577 MB / 443 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.2433, allocations: 34.55 kB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.2433, allocations: 112 / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005585/0.2439, allocations: 221.4 kB / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.2439, allocations: 81.05 kB / 443.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.2442, allocations: 292.2 kB / 443.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2443, allocations: 29.7 kB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.2444, allocations: 244.1 kB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.2445, allocations: 67.42 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2446, allocations: 73.91 kB / 444 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2448, allocations: 334.8 kB / 444.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2449, allocations: 64.62 kB / 444.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.2452, allocations: 210.4 kB / 444.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.2456, allocations: 291.8 kB / 444.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2456, allocations: 7.938 kB / 444.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005535/0.2462, allocations: 309 kB / 445.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2462, allocations: 8 kB / 445.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.2462, allocations: 4 kB / 445.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2462, allocations: 8.562 kB / 445.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.2465, allocations: 83.78 kB / 445.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2465, allocations: 15.92 kB / 445.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.2467, allocations: 35.78 kB / 445.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2468, allocations: 12 kB / 445.3 MB, free: 8.773 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.0001637/0.2469, allocations: 157.7 kB / 445.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.247, allocations: 31.8 kB / 445.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.2471, allocations: 29.78 kB / 445.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2471, allocations: 7.938 kB / 445.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2471, allocations: 4 kB / 445.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2471, allocations: 0 / 445.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.2478, allocations: 494.2 kB / 446 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2478, allocations: 320 / 446 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.248, allocations: 43.91 kB / 446.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.248, allocations: 8 kB / 446.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.248, allocations: 4.031 kB / 446.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.248, allocations: 4 kB / 446.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.248, allocations: 0 / 446.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.2486, allocations: 419.3 kB / 446.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2487, allocations: 47.77 kB / 446.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.2487, allocations: 4 kB / 446.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.2489, allocations: 15.98 kB / 446.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.249, allocations: 7.984 kB / 446.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.249, allocations: 7.984 kB / 446.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.2492, allocations: 203.1 kB / 446.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2492, allocations: 0 / 446.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.2496, allocations: 79.83 kB / 446.9 MB, free: 7.156 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.0001521/0.2498, allocations: 119.2 kB / 447 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.2502, allocations: 183.9 kB / 447.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2502, allocations: 0 / 447.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2503, allocations: 63.91 kB / 447.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.2507, allocations: 36.89 kB / 447.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2519, allocations: 0.6567 MB / 447.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.2523, allocations: 0.7714 MB / 448.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.2524, allocations: 38.95 kB / 448.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.2524, allocations: 23.42 kB / 448.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2524, allocations: 4 kB / 448.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of Templates: time 0.006761/0.2592, allocations: 2.577 MB / 451.3 MB, free: 2.648 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.485590489115566]