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.001331/0.001331, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001632/0.001632, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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.025/1.025, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.914e-06/1.914e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.115e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005635/0.005666, allocations: 3.289 MB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.008593, allocations: 1.362 MB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.008911, allocations: 11.94 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.009504, allocations: 143 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.01083, allocations: 429.5 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.01133, allocations: 179.5 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008744/0.0122, allocations: 481.8 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.01246, allocations: 108.8 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.0129, allocations: 251.4 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.01321, allocations: 155.6 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.01327, allocations: 36 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.01369, allocations: 159.7 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.01377, allocations: 87.66 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.01393, allocations: 135.6 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.01467, allocations: 422.5 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01467, allocations: 4 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01468, allocations: 0 / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01469, allocations: 0 / 280.2 MB, free: 10.3 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.001534/0.01622, allocations: 0.7843 MB / 281 MB, free: 9.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.01627, allocations: 8.031 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/0.01705, allocations: 156.5 kB / 281.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.01754, allocations: 265.7 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.01757, allocations: 25.38 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.01764, allocations: 40.33 kB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.01826, allocations: 347.5 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01827, allocations: 192 / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.01831, allocations: 16.38 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.01833, allocations: 15.94 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.01867, allocations: 125.3 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.02063, allocations: 1.222 MB / 283.2 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.02097, allocations: 142.2 kB / 283.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.02109, allocations: 67.28 kB / 283.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/0.0219, allocations: 0.7173 MB / 284.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.02194, allocations: 41.39 kB / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.804e-06/0.02194, allocations: 0 / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004216/0.02237, allocations: 157.4 kB / 284.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.02241, allocations: 81.11 kB / 284.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.02273, allocations: 334.3 kB / 284.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.02276, allocations: 37.69 kB / 284.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.02294, allocations: 290.7 kB / 285 MB, free: 5.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.02299, allocations: 59.53 kB / 285.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.0231, allocations: 75.62 kB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.02328, allocations: 0.5117 MB / 285.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.02338, allocations: 36.62 kB / 285.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.02358, allocations: 226.9 kB / 285.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.02391, allocations: 285.5 kB / 286.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.02392, allocations: 4 kB / 286.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004619/0.02438, allocations: 273.1 kB / 286.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.0244, allocations: 8 kB / 286.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.02441, allocations: 4 kB / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.02444, allocations: 4 kB / 286.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.02471, allocations: 83.83 kB / 286.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.02472, allocations: 4 kB / 286.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.0249, allocations: 39.67 kB / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.02492, allocations: 20.2 kB / 286.6 MB, free: 3.375 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.0001392/0.02506, allocations: 184.4 kB / 286.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.02515, allocations: 31.86 kB / 286.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.02521, allocations: 29.8 kB / 286.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02521, allocations: 0 / 286.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.02522, allocations: 4 kB / 286.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02522, allocations: 0 / 286.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.02584, allocations: 464.8 kB / 287.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02584, allocations: 0 / 287.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.02603, allocations: 44.02 kB / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.02603, allocations: 0 / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.02605, allocations: 15.92 kB / 287.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.02605, allocations: 320 / 287.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02606, allocations: 0 / 287.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.02649, allocations: 448.1 kB / 287.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.02653, allocations: 31.73 kB / 287.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.02657, allocations: 8 kB / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.02675, allocations: 11.98 kB / 287.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.0268, allocations: 15.95 kB / 287.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.02682, allocations: 8 kB / 287.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.02701, allocations: 223 kB / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02701, allocations: 0 / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.02751, allocations: 83.84 kB / 288.2 MB, free: 1.723 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.0001822/0.02769, allocations: 119.2 kB / 288.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.028, allocations: 139.4 kB / 288.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.028, allocations: 0 / 288.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.02809, allocations: 47.61 kB / 288.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.02858, allocations: 30.81 kB / 288.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.03002, allocations: 0.6092 MB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.055e-05/0.0301, allocations: 96.23 kB / 289.2 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.03022, allocations: 30.97 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.0303, allocations: 28.5 kB / 289.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.0303, allocations: 0 / 289.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of Templates: time 0.006473/0.03677, allocations: 2.217 MB / 291.5 MB, free: 14.38 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.104820929002017]