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.001317/0.001317, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001501/0.001501, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.001548/0.001548, allocations: 51.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2216, allocations: 53.37 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004741/0.2264, allocations: 3.05 MB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2288, allocations: 1.319 MB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2289, allocations: 11.94 kB / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.2293, allocations: 139.1 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009851/0.2303, allocations: 417.8 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.2307, allocations: 183.4 kB / 436.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.2314, allocations: 462.1 kB / 437.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2316, allocations: 104.7 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.2318, allocations: 179.3 kB / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.2321, allocations: 175.1 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.2321, allocations: 36 kB / 437.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.2325, allocations: 159.9 kB / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.2326, allocations: 87.62 kB / 437.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.2327, allocations: 159.2 kB / 438 MB, free: 272 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007143/0.2334, allocations: 0.5473 MB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2334, allocations: 4 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2334, allocations: 0 / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2335, allocations: 0 / 438.6 MB, free: 15.71 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.00148/0.2349, allocations: 0.6805 MB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.235, allocations: 8.031 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.2357, allocations: 120.6 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.2362, allocations: 259.7 kB / 439.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.2363, allocations: 21.38 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.2363, allocations: 36.38 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.237, allocations: 412.9 kB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.237, allocations: 0 / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.2371, allocations: 16 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2371, allocations: 8 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.2376, allocations: 241.9 kB / 440.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.2397, allocations: 1.129 MB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.2401, allocations: 185.2 kB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2403, allocations: 85.62 kB / 441.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/0.2411, allocations: 0.5498 MB / 442.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2411, allocations: 42.5 kB / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.2411, allocations: 0 / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005797/0.2417, allocations: 229.6 kB / 442.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.2418, allocations: 81.11 kB / 442.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.2421, allocations: 296.2 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2422, allocations: 25.7 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.2423, allocations: 236.1 kB / 443.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.2424, allocations: 67.42 kB / 443.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.2425, allocations: 65.98 kB / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2427, allocations: 346.8 kB / 443.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2428, allocations: 68.56 kB / 443.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.2431, allocations: 208.9 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.2436, allocations: 292.9 kB / 444.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2436, allocations: 0 / 444.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005841/0.2442, allocations: 312.6 kB / 444.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2442, allocations: 4 kB / 444.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2442, allocations: 8.25 kB / 444.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2442, allocations: 4 kB / 444.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.2445, allocations: 87.89 kB / 444.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2445, allocations: 11.88 kB / 444.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.2447, allocations: 39.72 kB / 444.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.2448, allocations: 20 kB / 444.7 MB, free: 9.191 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.0001603/0.2449, allocations: 153.8 kB / 444.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.245, allocations: 27.81 kB / 444.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.2451, allocations: 29.73 kB / 444.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2451, allocations: 4 kB / 444.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2451, allocations: 3.938 kB / 444.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2451, allocations: 0 / 444.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.2458, allocations: 422.8 kB / 445.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2458, allocations: 7.938 kB / 445.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.246, allocations: 47.94 kB / 445.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.246, allocations: 4 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.246, allocations: 7.938 kB / 445.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.246, allocations: 0 / 445.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.246, allocations: 4 kB / 445.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.2467, allocations: 411.4 kB / 445.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.2467, allocations: 35.8 kB / 445.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.2467, allocations: 3.938 kB / 445.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.247, allocations: 16.06 kB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.247, allocations: 15.91 kB / 445.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.247, allocations: 12 kB / 445.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2472, allocations: 195.1 kB / 446 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2472, allocations: 0 / 446 MB, free: 7.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.2477, allocations: 83.78 kB / 446.1 MB, free: 7.668 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.000171/0.2479, allocations: 115.2 kB / 446.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.2483, allocations: 179.2 kB / 446.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2483, allocations: 4 kB / 446.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.2484, allocations: 64.09 kB / 446.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.2489, allocations: 39.17 kB / 446.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2501, allocations: 0.6589 MB / 447.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.2502, allocations: 168.8 kB / 447.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2504, allocations: 34.97 kB / 447.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.2504, allocations: 23.44 kB / 447.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2504, allocations: 3.938 kB / 447.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of Templates: time 0.006911/0.2573, allocations: 2.552 MB / 450 MB, free: 3.82 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.531523292884231]