Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 192.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 43.94 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004624/0.2413, allocations: 3.028 MB / 426.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2434, allocations: 1.221 MB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.2436, allocations: 7.938 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.244, allocations: 147.1 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.245, allocations: 433.6 kB / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2454, allocations: 159.6 kB / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000593/0.2459, allocations: 454 kB / 428.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2462, allocations: 100.7 kB / 428.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.2464, allocations: 167.4 kB / 428.8 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.2467, allocations: 175.2 kB / 428.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.2468, allocations: 32 kB / 429 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.2471, allocations: 151.9 kB / 429.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.2472, allocations: 91.62 kB / 429.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2473, allocations: 163.2 kB / 429.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.248, allocations: 0.5328 MB / 429.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.248, allocations: 0 / 429.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.248, allocations: 0 / 429.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.248, allocations: 0 / 429.9 MB, free: 7.621 MB / 334.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.001472/0.2495, allocations: 0.6805 MB / 430.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2495, allocations: 12.03 kB / 430.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006277/0.2502, allocations: 96.64 kB / 430.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.2506, allocations: 246.8 kB / 430.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2507, allocations: 25.38 kB / 430.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.2507, allocations: 36.38 kB / 431 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.2514, allocations: 408.9 kB / 431.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2514, allocations: 7.984 kB / 431.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.2515, allocations: 19.98 kB / 431.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2515, allocations: 8 kB / 431.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.252, allocations: 237.9 kB / 431.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.254, allocations: 1.125 MB / 432.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.2544, allocations: 181.1 kB / 432.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2546, allocations: 85.62 kB / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.2553, allocations: 0.5185 MB / 433.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.2554, allocations: 42.55 kB / 433.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2554, allocations: 0 / 433.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005728/0.2559, allocations: 221.4 kB / 433.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.256, allocations: 81.11 kB / 433.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.2563, allocations: 284.2 kB / 434.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.2563, allocations: 29.7 kB / 434.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.2565, allocations: 247.9 kB / 434.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.2566, allocations: 71.42 kB / 434.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.2567, allocations: 62.03 kB / 434.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2568, allocations: 334.8 kB / 434.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.257, allocations: 68.61 kB / 435 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.2573, allocations: 210.3 kB / 435.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.2577, allocations: 296.4 kB / 435.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2577, allocations: 0 / 435.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005901/0.2583, allocations: 309.6 kB / 435.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2583, allocations: 8 kB / 435.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2583, allocations: 4 kB / 435.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2583, allocations: 8 kB / 435.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.2586, allocations: 79.89 kB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.2586, allocations: 15.88 kB / 435.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2588, allocations: 39.72 kB / 435.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2589, allocations: 16 kB / 435.9 MB, free: 1.18 MB / 334.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.0001537/0.259, allocations: 157.8 kB / 436.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.2591, allocations: 27.86 kB / 436.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.2592, allocations: 29.73 kB / 436.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2592, allocations: 7.984 kB / 436.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2592, allocations: 7.875 kB / 436.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2592, allocations: 0 / 436.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006537/0.2598, allocations: 422.8 kB / 436.6 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2598, allocations: 0 / 436.6 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2601, allocations: 43.95 kB / 436.6 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2601, allocations: 4 kB / 436.6 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.2601, allocations: 11.92 kB / 436.6 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.2601, allocations: 4.312 kB / 436.6 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2601, allocations: 0 / 436.6 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.2607, allocations: 415.4 kB / 437 MB, free: 0 / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2607, allocations: 31.91 kB / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.2608, allocations: 7.875 kB / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.261, allocations: 20.05 kB / 437.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.261, allocations: 15.97 kB / 437.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.261, allocations: 8 kB / 437.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.2612, allocations: 191.1 kB / 437.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2612, allocations: 0 / 437.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.2617, allocations: 83.84 kB / 437.4 MB, free: 15.65 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.0001938/0.2619, allocations: 115.2 kB / 437.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.2623, allocations: 172.7 kB / 437.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2623, allocations: 0 / 437.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.2624, allocations: 72.09 kB / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.2628, allocations: 28.8 kB / 437.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.264, allocations: 0.6629 MB / 438.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.2641, allocations: 168.7 kB / 438.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.2643, allocations: 38.22 kB / 438.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.2643, allocations: 27.44 kB / 438.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2643, allocations: 0 / 438.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Templates: time 0.006619/0.2709, allocations: 2.524 MB / 441.2 MB, free: 11.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.463467586785555]