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.001222/0.001222, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001364/0.001364, allocations: 215 kB / 24.49 MB, free: 3.934 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.001596/0.001596, allocations: 55.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004687/0.2263, allocations: 3.05 MB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2284, allocations: 1.312 MB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.2285, allocations: 11.94 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.2289, allocations: 143.1 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009336/0.2298, allocations: 409.7 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.2302, allocations: 183.2 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.2308, allocations: 462 kB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.231, allocations: 116.7 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2312, allocations: 175.4 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.2315, allocations: 203.1 kB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.2316, allocations: 36 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.2319, allocations: 171.8 kB / 438.6 MB, free: 476 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.232, allocations: 87.62 kB / 438.7 MB, free: 388 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2321, allocations: 159.2 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.2328, allocations: 0.5476 MB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2328, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2328, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2328, allocations: 0 / 439.4 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.00145/0.2343, allocations: 0.6767 MB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2343, allocations: 12.02 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/0.2351, allocations: 116.6 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.2356, allocations: 263.7 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.2356, allocations: 25.38 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.2357, allocations: 36.38 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.2363, allocations: 408.9 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2364, allocations: 0 / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.2364, allocations: 16 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2364, allocations: 8 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.2369, allocations: 249.8 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.239, allocations: 1.133 MB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.2393, allocations: 177.2 kB / 442.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2395, allocations: 89.61 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007295/0.2402, allocations: 0.5497 MB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2403, allocations: 38.61 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2403, allocations: 0 / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005593/0.2408, allocations: 225.3 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2409, allocations: 81.11 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2412, allocations: 296.2 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2412, allocations: 29.7 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2414, allocations: 236 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.2414, allocations: 71.42 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.2415, allocations: 65.97 kB / 444.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2417, allocations: 338.8 kB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.2418, allocations: 64.62 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.2421, allocations: 210.3 kB / 444.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.2426, allocations: 288.8 kB / 445 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2426, allocations: 0 / 445 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005605/0.2431, allocations: 313 kB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2431, allocations: 4.562 kB / 445.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2431, allocations: 8 kB / 445.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2432, allocations: 8 kB / 445.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.2435, allocations: 79.91 kB / 445.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.2435, allocations: 15.86 kB / 445.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2437, allocations: 39.67 kB / 445.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2437, allocations: 20 kB / 445.5 MB, free: 9.156 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.0001484/0.2438, allocations: 153.7 kB / 445.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.2439, allocations: 35.8 kB / 445.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.244, allocations: 25.75 kB / 445.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.244, allocations: 7.984 kB / 445.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.244, allocations: 0 / 445.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.244, allocations: 31.73 kB / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.2441, allocations: 8 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.2443, allocations: 11.98 kB / 445.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2444, allocations: 15.97 kB / 445.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005707/0.2449, allocations: 340 kB / 446.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006098/0.2455, allocations: 0.4898 MB / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001428/0.2457, allocations: 64.31 kB / 446.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2459, allocations: 199.1 kB / 446.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2459, allocations: 0 / 446.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008028/0.2467, allocations: 286.2 kB / 447.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of SimCode: time 0.001199/0.2479, allocations: 1.08 MB / 448.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.008701/0.2566, allocations: 4.184 MB / 452.4 MB, free: 2.207 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: 4.250363464001566]