Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008514/0.008514, allocations: 106.2 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002311/0.002311, allocations: 216.5 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 259 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2351, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005139/0.2403, allocations: 3.331 MB / 436.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.2429, allocations: 1.429 MB / 437.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.2431, allocations: 8 kB / 437.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.2435, allocations: 151 kB / 438.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.2445, allocations: 429.7 kB / 438.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.2449, allocations: 183.5 kB / 438.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.2456, allocations: 458.1 kB / 439.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.2458, allocations: 116.7 kB / 439.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.246, allocations: 179.3 kB / 439.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.2463, allocations: 203.1 kB / 439.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.2463, allocations: 32 kB / 439.7 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.2467, allocations: 175.9 kB / 439.8 MB, free: 284 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.2467, allocations: 79.64 kB / 439.9 MB, free: 204 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.2469, allocations: 203 kB / 440.1 MB, free: 0 / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.2477, allocations: 0.5538 MB / 440.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2477, allocations: 4 kB / 440.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2477, allocations: 0 / 440.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2477, allocations: 0 / 440.7 MB, free: 15.44 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.001479/0.2492, allocations: 0.6728 MB / 441.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2492, allocations: 16.02 kB / 441.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.25, allocations: 120.6 kB / 441.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.2505, allocations: 259.7 kB / 441.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.2505, allocations: 21.38 kB / 441.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.2506, allocations: 40.38 kB / 441.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.2513, allocations: 357.5 kB / 442.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2513, allocations: 0 / 442.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.2513, allocations: 16 kB / 442.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2513, allocations: 8 kB / 442.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.2519, allocations: 245.9 kB / 442.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.2541, allocations: 1.265 MB / 443.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.2544, allocations: 185.1 kB / 443.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2546, allocations: 85.66 kB / 443.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007941/0.2554, allocations: 0.573 MB / 444.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.2555, allocations: 38.5 kB / 444.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2555, allocations: 0 / 444.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005851/0.256, allocations: 225.8 kB / 444.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.2561, allocations: 85.05 kB / 444.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.2564, allocations: 284.2 kB / 445.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2565, allocations: 29.7 kB / 445.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.2566, allocations: 252.1 kB / 445.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.2567, allocations: 63.44 kB / 445.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2568, allocations: 61.97 kB / 445.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.257, allocations: 342.8 kB / 445.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.2571, allocations: 64.62 kB / 445.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.2574, allocations: 213.1 kB / 446.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.2579, allocations: 287.4 kB / 446.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2579, allocations: 0 / 446.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005624/0.2584, allocations: 325.5 kB / 446.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2584, allocations: 8 kB / 446.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2585, allocations: 11.94 kB / 446.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.2585, allocations: 8 kB / 446.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.2588, allocations: 79.84 kB / 446.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.2588, allocations: 15.92 kB / 446.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.259, allocations: 31.78 kB / 446.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.259, allocations: 16 kB / 446.9 MB, free: 8.816 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.0001646/0.2592, allocations: 149.8 kB / 447 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.2592, allocations: 43.73 kB / 447.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.2593, allocations: 21.8 kB / 447.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2593, allocations: 11.92 kB / 447.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2593, allocations: 0 / 447.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2593, allocations: 0 / 447.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.2601, allocations: 494.4 kB / 447.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2601, allocations: 0 / 447.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.2603, allocations: 59.88 kB / 447.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2603, allocations: 0 / 447.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2603, allocations: 4 kB / 447.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2603, allocations: 0 / 447.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2603, allocations: 4 kB / 447.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.2609, allocations: 419.3 kB / 448.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.2609, allocations: 35.7 kB / 448.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.261, allocations: 8 kB / 448.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2612, allocations: 11.98 kB / 448.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.2612, allocations: 15.92 kB / 448.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2612, allocations: 4 kB / 448.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.2615, allocations: 211.1 kB / 448.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2615, allocations: 0 / 448.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.2619, allocations: 75.89 kB / 448.4 MB, free: 7.199 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.0001662/0.262, allocations: 107.2 kB / 448.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.2625, allocations: 179.7 kB / 448.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2625, allocations: 0 / 448.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2626, allocations: 73.03 kB / 448.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.263, allocations: 36.91 kB / 448.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2643, allocations: 0.6881 MB / 449.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2647, allocations: 0.7714 MB / 450.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.2647, allocations: 27.42 kB / 450.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2647, allocations: 8 kB / 450.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of Templates: time 0.00621/0.271, allocations: 3.527 MB / 453.8 MB, free: 1.727 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.022157378029078]