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.0009241/0.0009241, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009591/0.0009591, allocations: 143.8 kB / 24.97 MB, free: 8.82 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.9768/0.9768, allocations: 173.3 MB / 201.5 MB, free: 9.328 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.232e-06/1.232e-06, allocations: 3.938 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.354e-05, allocations: 10.25 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002888/0.002901, allocations: 3.269 MB / 271.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004354, allocations: 1.25 MB / 272.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.004518, allocations: 11.94 kB / 272.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.004841, allocations: 142.9 kB / 272.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.005507, allocations: 453.3 kB / 273.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.005737, allocations: 171.1 kB / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.00617, allocations: 465.8 kB / 273.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.006311, allocations: 104.8 kB / 273.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.006517, allocations: 255.3 kB / 274.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.006676, allocations: 143.6 kB / 274.3 MB, free: 484 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.006711, allocations: 36 kB / 274.3 MB, free: 448 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.006913, allocations: 155.7 kB / 274.5 MB, free: 292 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.006959, allocations: 83.62 kB / 274.6 MB, free: 208 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.00705, allocations: 135.7 kB / 274.7 MB, free: 72 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.007438, allocations: 406.5 kB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614e-06/0.00744, allocations: 0 / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00744, allocations: 4 kB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.007444, allocations: 4 kB / 275.1 MB, free: 15.66 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.0008761/0.00832, allocations: 0.7765 MB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.00835, allocations: 12.86 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004178/0.008768, allocations: 140.5 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.00903, allocations: 252.9 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.00905, allocations: 25.38 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.009088, allocations: 36.38 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.009447, allocations: 347.5 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.009457, allocations: 192 / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.00948, allocations: 12.38 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.00949, allocations: 11.94 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.009692, allocations: 130.8 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01086, allocations: 1.218 MB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.01107, allocations: 153.7 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.01113, allocations: 59.34 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/0.01158, allocations: 0.6822 MB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.0116, allocations: 45.33 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.71e-07/0.01161, allocations: 0 / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002674/0.01187, allocations: 157.5 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.01191, allocations: 81.11 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.01212, allocations: 334.3 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.01213, allocations: 29.7 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.01226, allocations: 294.7 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.0123, allocations: 67.47 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.01237, allocations: 67.64 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.0125, allocations: 0.5117 MB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.01256, allocations: 36.62 kB / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01269, allocations: 227.1 kB / 280.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.01291, allocations: 285.4 kB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01292, allocations: 8 kB / 281 MB, free: 9.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000286/0.0132, allocations: 265 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01322, allocations: 11.53 kB / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.01322, allocations: 4 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01324, allocations: 12 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.0134, allocations: 79.84 kB / 281.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.01341, allocations: 7.984 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.01351, allocations: 31.78 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01352, allocations: 20 kB / 281.5 MB, free: 8.805 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 9.556e-05/0.01362, allocations: 184.3 kB / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.01366, allocations: 31.81 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.0137, allocations: 33.8 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0137, allocations: 4 kB / 281.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.0137, allocations: 4 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01371, allocations: 0 / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.01409, allocations: 460.8 kB / 282.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.0141, allocations: 0 / 282.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01421, allocations: 43.97 kB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01421, allocations: 0 / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01422, allocations: 8 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01422, allocations: 0 / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01422, allocations: 4.031 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01451, allocations: 442.5 kB / 282.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.01453, allocations: 23.86 kB / 282.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01456, allocations: 0 / 282.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01466, allocations: 15.98 kB / 282.7 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.0147, allocations: 15.92 kB / 282.7 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.01471, allocations: 11.98 kB / 282.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01483, allocations: 215 kB / 282.9 MB, free: 7.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01483, allocations: 0 / 282.9 MB, free: 7.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.01511, allocations: 87.81 kB / 283 MB, free: 7.168 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.000113/0.01522, allocations: 119.2 kB / 283.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01542, allocations: 147.8 kB / 283.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01543, allocations: 4 kB / 283.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.01548, allocations: 51.59 kB / 283.3 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01574, allocations: 20.98 kB / 283.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.01663, allocations: 0.6036 MB / 284 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.01669, allocations: 92.3 kB / 284 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.01677, allocations: 34.27 kB / 284.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01681, allocations: 24.5 kB / 284.1 MB, free: 6.008 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01681, allocations: 0 / 284.1 MB, free: 6.008 MB / 266.7 MB Notification: Performance of Templates: time 0.00429/0.0211, allocations: 2.208 MB / 286.3 MB, free: 3.84 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.7015266190283]