Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001797/0.001797, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002153/0.002153, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.91 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2263, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004683/0.2309, allocations: 3.042 MB / 434.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.2334, allocations: 1.327 MB / 436 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.2336, allocations: 11.94 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.234, allocations: 139.1 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.235, allocations: 417.7 kB / 436.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2354, allocations: 171.5 kB / 436.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.236, allocations: 466 kB / 437.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.2362, allocations: 108.7 kB / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.2365, allocations: 171.4 kB / 437.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.2367, allocations: 183.1 kB / 437.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.2368, allocations: 36 kB / 437.7 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.2371, allocations: 155.9 kB / 437.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.2372, allocations: 83.67 kB / 437.9 MB, free: 248 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.2373, allocations: 159.2 kB / 438.1 MB, free: 88 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.238, allocations: 0.5511 MB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2381, allocations: 0 / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2381, allocations: 0 / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2381, allocations: 4 kB / 438.6 MB, free: 15.53 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.001484/0.2395, allocations: 0.6806 MB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2396, allocations: 11.98 kB / 439.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.2403, allocations: 124.5 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.2408, allocations: 255.9 kB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2409, allocations: 21.38 kB / 439.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.2409, allocations: 36.38 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.2417, allocations: 404.9 kB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2417, allocations: 4 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.2417, allocations: 12 kB / 440.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2417, allocations: 12 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.2422, allocations: 245.9 kB / 440.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.2443, allocations: 1.137 MB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.2447, allocations: 185.1 kB / 441.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.2449, allocations: 81.62 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/0.2457, allocations: 0.5458 MB / 442.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.2457, allocations: 42.5 kB / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.2457, allocations: 0 / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005982/0.2463, allocations: 229.4 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.2464, allocations: 81.11 kB / 442.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.2467, allocations: 292.2 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2467, allocations: 29.7 kB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.2469, allocations: 236.1 kB / 443.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.247, allocations: 67.42 kB / 443.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2471, allocations: 65.98 kB / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.2473, allocations: 342.8 kB / 443.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2475, allocations: 68.62 kB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.2478, allocations: 209.1 kB / 444 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.2482, allocations: 288.4 kB / 444.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2482, allocations: 4 kB / 444.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005671/0.2488, allocations: 313.6 kB / 444.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2488, allocations: 4 kB / 444.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2488, allocations: 11.94 kB / 444.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2488, allocations: 8 kB / 444.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.2491, allocations: 75.89 kB / 444.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.2492, allocations: 15.88 kB / 444.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2494, allocations: 43.72 kB / 444.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.2494, allocations: 12 kB / 444.7 MB, free: 9.016 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.0001775/0.2496, allocations: 157.7 kB / 444.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.2496, allocations: 27.81 kB / 444.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/0.2497, allocations: 33.73 kB / 444.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2497, allocations: 0 / 444.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2497, allocations: 7.938 kB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2497, allocations: 0 / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.2504, allocations: 418.8 kB / 445.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2504, allocations: 3.938 kB / 445.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2506, allocations: 52.22 kB / 445.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2506, allocations: 0 / 445.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2506, allocations: 15.97 kB / 445.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2506, allocations: 0 / 445.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2506, allocations: 0 / 445.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.2512, allocations: 419.4 kB / 445.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.2512, allocations: 27.84 kB / 445.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.2513, allocations: 15.92 kB / 445.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2515, allocations: 12 kB / 445.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.2516, allocations: 19.97 kB / 445.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2516, allocations: 4 kB / 445.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.2518, allocations: 199.1 kB / 446.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2518, allocations: 4 kB / 446.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.2522, allocations: 83.78 kB / 446.2 MB, free: 7.477 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.0001807/0.2524, allocations: 117.9 kB / 446.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2529, allocations: 175.6 kB / 446.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2529, allocations: 0 / 446.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.253, allocations: 69.47 kB / 446.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.2535, allocations: 28.61 kB / 446.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2547, allocations: 0.6593 MB / 447.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.2549, allocations: 164.8 kB / 447.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.2551, allocations: 38.94 kB / 447.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.2551, allocations: 23.44 kB / 447.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2551, allocations: 4 kB / 447.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of Templates: time 0.006986/0.2621, allocations: 2.559 MB / 450 MB, free: 3.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.461466744542122]