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.001953/0.001953, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002521/0.002521, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001823/0.001823, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2394, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00473/0.2442, allocations: 3.057 MB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.2465, allocations: 1.316 MB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.2467, allocations: 11.94 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.2471, allocations: 139.1 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.2481, allocations: 417.7 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.2485, allocations: 183.5 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.2492, allocations: 462 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.2494, allocations: 104.7 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.2496, allocations: 175.4 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.2499, allocations: 179.1 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.2499, allocations: 32 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.2502, allocations: 163.9 kB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.2503, allocations: 83.67 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.2505, allocations: 159.2 kB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.2512, allocations: 0.5554 MB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2512, allocations: 3.938 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2512, allocations: 0 / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2512, allocations: 0 / 439.3 MB, free: 15.68 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.001433/0.2526, allocations: 0.6845 MB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2527, allocations: 8.031 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007267/0.2534, allocations: 108.6 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.2539, allocations: 259.7 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.2539, allocations: 29.38 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.254, allocations: 32.38 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.2546, allocations: 412.9 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2547, allocations: 0 / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.2547, allocations: 16 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.2547, allocations: 8 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.2552, allocations: 245.9 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2571, allocations: 1.125 MB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2575, allocations: 185.2 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.2577, allocations: 77.73 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/0.2584, allocations: 0.5574 MB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2585, allocations: 38.55 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2585, allocations: 0 / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005603/0.259, allocations: 225.6 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2591, allocations: 77.11 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.2594, allocations: 296.2 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2594, allocations: 33.7 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2596, allocations: 244 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.2596, allocations: 67.42 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.2597, allocations: 61.98 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2599, allocations: 338.8 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.26, allocations: 68.62 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.2603, allocations: 208.9 kB / 444.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.2607, allocations: 288.1 kB / 444.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2607, allocations: 4 kB / 445 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005437/0.2613, allocations: 309.3 kB / 445.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2613, allocations: 8 kB / 445.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2613, allocations: 4 kB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2613, allocations: 8 kB / 445.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.2616, allocations: 83.83 kB / 445.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.2616, allocations: 15.88 kB / 445.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.2619, allocations: 44 kB / 445.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.2619, allocations: 16 kB / 445.4 MB, free: 9.164 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.0001597/0.262, allocations: 161.7 kB / 445.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.2621, allocations: 27.81 kB / 445.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.2622, allocations: 29.73 kB / 445.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2622, allocations: 0 / 445.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2622, allocations: 4.188 kB / 445.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2622, allocations: 4 kB / 445.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.2628, allocations: 422.8 kB / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2628, allocations: 4.031 kB / 446.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.2631, allocations: 47.91 kB / 446.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2631, allocations: 0 / 446.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2631, allocations: 11.94 kB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2631, allocations: 0 / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2631, allocations: 0 / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.2637, allocations: 415.5 kB / 446.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.2637, allocations: 31.84 kB / 446.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.2638, allocations: 19.92 kB / 446.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.264, allocations: 8 kB / 446.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.264, allocations: 15.97 kB / 446.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2641, allocations: 4 kB / 446.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.2643, allocations: 195.1 kB / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2643, allocations: 0 / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004651/0.2647, allocations: 87.78 kB / 446.9 MB, free: 7.637 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.0001659/0.2649, allocations: 115.2 kB / 447 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.2653, allocations: 191.6 kB / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2653, allocations: 0 / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.2654, allocations: 67.91 kB / 447.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.2658, allocations: 20.98 kB / 447.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2671, allocations: 0.6882 MB / 448 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.2672, allocations: 172.8 kB / 448.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.2673, allocations: 31.42 kB / 448.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2673, allocations: 0 / 448.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Templates: time 0.006005/0.2733, allocations: 3.606 MB / 451.8 MB, free: 2.688 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/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: 7.010556396096945]