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.001034/0.001034, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009394/0.0009394, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.94/0.94, allocations: 173.3 MB / 201.1 MB, free: 9.367 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.813e-06/1.813e-06, allocations: 0 / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.136e-05, allocations: 6.25 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.01051/0.01053, allocations: 3.285 MB / 271.3 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.0127, allocations: 1.25 MB / 272.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.01292, allocations: 11.94 kB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.01338, allocations: 142.9 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.01446, allocations: 457.3 kB / 273.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.01485, allocations: 171.5 kB / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006205/0.01547, allocations: 465.8 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.01868, allocations: 96.81 kB / 273.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.01909, allocations: 287.3 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.01938, allocations: 175.5 kB / 274.3 MB, free: 140 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.01944, allocations: 32 kB / 274.3 MB, free: 108 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.01974, allocations: 147.9 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.01981, allocations: 83.67 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.01995, allocations: 139.5 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.02049, allocations: 398.6 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.02049, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.02049, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.0205, allocations: 3.938 kB / 275.1 MB, free: 15.34 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.005269/0.02577, allocations: 0.761 MB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.02581, allocations: 12.92 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/0.02635, allocations: 128.5 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.02669, allocations: 247.9 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.02672, allocations: 25.38 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.02678, allocations: 36.31 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.02734, allocations: 347.5 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.02735, allocations: 192 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.02739, allocations: 16.38 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.0274, allocations: 11.94 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.02772, allocations: 128.5 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.03235, allocations: 1.21 MB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.03264, allocations: 158.2 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.03274, allocations: 59.34 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.03339, allocations: 0.69 MB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.03342, allocations: 41.33 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.03343, allocations: 0 / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003633/0.03379, allocations: 153.5 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.03383, allocations: 81.11 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.03411, allocations: 338.3 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.03414, allocations: 25.7 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.0343, allocations: 294.7 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.03435, allocations: 63.48 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003104/0.03745, allocations: 75.62 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.03759, allocations: 0.5078 MB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.03766, allocations: 36.62 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.03783, allocations: 227.1 kB / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.03809, allocations: 285.1 kB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.0381, allocations: 8 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004005/0.0385, allocations: 265 kB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.03851, allocations: 8.562 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.03852, allocations: 11.94 kB / 281.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.03854, allocations: 8 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.0388, allocations: 83.83 kB / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.03881, allocations: 8 kB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.03897, allocations: 31.78 kB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.03899, allocations: 19.98 kB / 281.4 MB, free: 8.516 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.0001143/0.0391, allocations: 180.3 kB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.03918, allocations: 35.81 kB / 281.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.03923, allocations: 33.8 kB / 281.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.03923, allocations: 4 kB / 281.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.03923, allocations: 0 / 281.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.03924, allocations: 0 / 281.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.0398, allocations: 456.9 kB / 282.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.03981, allocations: 0 / 282.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.04, allocations: 43.98 kB / 282.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.04, allocations: 0 / 282.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.04002, allocations: 7.984 kB / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.04002, allocations: 0 / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.04002, allocations: 4.031 kB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.04045, allocations: 445.3 kB / 282.6 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.04048, allocations: 27.78 kB / 282.6 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.0405, allocations: 8 kB / 282.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.04062, allocations: 11.98 kB / 282.6 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.04066, allocations: 15.92 kB / 282.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.04067, allocations: 4 kB / 282.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.04079, allocations: 219 kB / 282.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04079, allocations: 0 / 282.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.04104, allocations: 91.81 kB / 283 MB, free: 6.879 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.000111/0.04115, allocations: 111.2 kB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.04134, allocations: 147.6 kB / 283.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.04135, allocations: 3.938 kB / 283.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.0414, allocations: 55.59 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.04166, allocations: 28.97 kB / 283.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.04258, allocations: 0.592 MB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.182e-05/0.04264, allocations: 88.31 kB / 284 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.312e-05/0.04271, allocations: 34.27 kB / 284 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.04276, allocations: 28.48 kB / 284 MB, free: 5.727 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04276, allocations: 0 / 284 MB, free: 5.727 MB / 266.7 MB Notification: Performance of Templates: time 0.004574/0.04733, allocations: 2.399 MB / 286.4 MB, free: 3.367 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.588369194883853]