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.0009227/0.0009227, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001387/0.001387, allocations: 147.1 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.942/0.942, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.158e-05, allocations: 6.312 kB / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004332/0.004354, allocations: 3.238 MB / 271.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.006601, allocations: 1.288 MB / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.006812, allocations: 11.94 kB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.007262, allocations: 143 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.008294, allocations: 453.3 kB / 273.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.00865, allocations: 175.5 kB / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.009267, allocations: 469.8 kB / 274.2 MB, free: 248 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.009459, allocations: 95.45 kB / 274.3 MB, free: 148 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.009811, allocations: 287.4 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.01007, allocations: 179.5 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.01012, allocations: 36 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.01038, allocations: 147.7 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.01045, allocations: 83.67 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.01058, allocations: 139.6 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.01109, allocations: 398.5 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.01109, allocations: 0 / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01109, allocations: 0 / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.01109, allocations: 0 / 275.5 MB, free: 14.9 MB / 266.7 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.001071/0.01216, allocations: 0.648 MB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.0122, allocations: 8.922 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.01267, allocations: 120.8 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.01294, allocations: 201.1 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.01296, allocations: 29.38 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.01301, allocations: 32.38 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.01339, allocations: 329.8 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.0134, allocations: 4.125 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.01343, allocations: 12.38 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.01344, allocations: 11.94 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.0136, allocations: 87.39 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01494, allocations: 0.9801 MB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.01515, allocations: 123.8 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.01521, allocations: 49.34 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/0.01573, allocations: 489.2 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.01575, allocations: 30.56 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.01575, allocations: 4 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002378/0.01599, allocations: 117.5 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.01603, allocations: 77.11 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01623, allocations: 270.9 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.01625, allocations: 29.7 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01636, allocations: 228 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.0164, allocations: 63.45 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.01648, allocations: 65.95 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01659, allocations: 338.7 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.01663, allocations: 24.64 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.01675, allocations: 162.3 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.01697, allocations: 220.8 kB / 280.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01697, allocations: 0 / 280.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002697/0.01724, allocations: 205.2 kB / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01725, allocations: 4 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01726, allocations: 8 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01728, allocations: 4 kB / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.0175, allocations: 83.83 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.0175, allocations: 8.531 kB / 280.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.01765, allocations: 39.73 kB / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01767, allocations: 11.98 kB / 280.6 MB, free: 9.461 MB / 266.7 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.0001027/0.01777, allocations: 145.6 kB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.01783, allocations: 15.98 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.01786, allocations: 29.8 kB / 280.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01787, allocations: 4 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.01787, allocations: 0 / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01787, allocations: 0 / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.01828, allocations: 303.3 kB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01829, allocations: 8.031 kB / 281.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.01843, allocations: 39.97 kB / 281.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01843, allocations: 0 / 281.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01845, allocations: 8 kB / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01845, allocations: 320 / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01845, allocations: 0 / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.0187, allocations: 314.6 kB / 281.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.01874, allocations: 23.81 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.01876, allocations: 4 kB / 281.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.01892, allocations: 16.02 kB / 281.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.01896, allocations: 15.97 kB / 281.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01897, allocations: 7.938 kB / 281.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.01906, allocations: 92.62 kB / 281.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01906, allocations: 0 / 281.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.01946, allocations: 87.78 kB / 281.7 MB, free: 8.316 MB / 266.7 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.0001165/0.01958, allocations: 96.36 kB / 281.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.01977, allocations: 113.5 kB / 281.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.01977, allocations: 4 kB / 281.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.01983, allocations: 48.95 kB / 281.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.02016, allocations: 32.92 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02119, allocations: 0.5763 MB / 282.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.02126, allocations: 96.23 kB / 282.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.02136, allocations: 30.28 kB / 282.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.02148, allocations: 91.36 kB / 282.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02148, allocations: 0 / 282.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of Templates: time 0.005702/0.02719, allocations: 2.35 MB / 285.1 MB, free: 4.852 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6600363720208406]