Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001181/0.001181, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.002893, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.00108/0.00108, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002557, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9338/0.9338, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1841/1.118, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.528e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.006562/0.006588, allocations: 3.242 MB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.01023, allocations: 1.336 MB / 226.6 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.01079, allocations: 8 kB / 226.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.01141, allocations: 150.9 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.01276, allocations: 314 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.01357, allocations: 255.1 kB / 227.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.01464, allocations: 457.9 kB / 227.7 MB, free: 10.28 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.01492, allocations: 103.4 kB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006343/0.01555, allocations: 327.8 kB / 228.1 MB, free: 9.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.01597, allocations: 175.5 kB / 228.3 MB, free: 9.691 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.01603, allocations: 36 kB / 228.3 MB, free: 9.656 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.01661, allocations: 151.8 kB / 228.5 MB, free: 9.508 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.01669, allocations: 59.75 kB / 228.6 MB, free: 9.449 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.01686, allocations: 111.8 kB / 228.7 MB, free: 9.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009402/0.0178, allocations: 362.7 kB / 229 MB, free: 8.984 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.769e-05/0.01783, allocations: 0 / 229 MB, free: 8.984 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.01783, allocations: 0 / 229 MB, free: 8.984 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.01785, allocations: 0 / 229 MB, free: 8.984 MB / 234.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.001482/0.01933, allocations: 0.8127 MB / 229.8 MB, free: 8.129 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01938, allocations: 8.031 kB / 229.8 MB, free: 8.121 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.01975, allocations: 120.8 kB / 230 MB, free: 8.004 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.02002, allocations: 205.1 kB / 230.2 MB, free: 7.777 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.02005, allocations: 29.38 kB / 230.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.02009, allocations: 36.38 kB / 230.2 MB, free: 7.715 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.02043, allocations: 325.8 kB / 230.5 MB, free: 7.367 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.02044, allocations: 192 / 230.5 MB, free: 7.367 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.02046, allocations: 16.38 kB / 230.6 MB, free: 7.352 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.02047, allocations: 11.94 kB / 230.6 MB, free: 7.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.0206, allocations: 87.25 kB / 230.7 MB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.0217, allocations: 0.984 MB / 231.6 MB, free: 6.203 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.02188, allocations: 125.1 kB / 231.8 MB, free: 6.062 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.02192, allocations: 45.69 kB / 231.8 MB, free: 6.012 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/0.022, allocations: 11.98 kB / 231.8 MB, free: 6 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.02202, allocations: 42.5 kB / 231.9 MB, free: 5.949 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.02203, allocations: 3.938 kB / 231.9 MB, free: 5.945 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002151/0.02224, allocations: 131.5 kB / 232 MB, free: 5.812 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.02228, allocations: 81.39 kB / 232.1 MB, free: 5.715 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.02243, allocations: 252.8 kB / 232.3 MB, free: 5.449 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.02244, allocations: 29.7 kB / 232.3 MB, free: 5.414 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.02254, allocations: 216.1 kB / 232.6 MB, free: 5.199 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.02258, allocations: 75.36 kB / 232.6 MB, free: 5.125 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.02265, allocations: 65.95 kB / 232.7 MB, free: 5.051 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.02274, allocations: 334.8 kB / 233 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.02277, allocations: 28.62 kB / 233 MB, free: 4.688 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.02286, allocations: 138.9 kB / 233.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.02303, allocations: 209.4 kB / 233.4 MB, free: 4.25 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02303, allocations: 0 / 233.4 MB, free: 4.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001893/0.02322, allocations: 187.9 kB / 233.6 MB, free: 4.062 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.02324, allocations: 8 kB / 233.6 MB, free: 4.055 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02325, allocations: 8.375 kB / 233.6 MB, free: 4.047 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.02326, allocations: 11.98 kB / 233.6 MB, free: 4.035 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.02349, allocations: 91.89 kB / 233.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.02351, allocations: 15.98 kB / 233.7 MB, free: 3.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.02359, allocations: 31.78 kB / 233.7 MB, free: 3.898 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.0236, allocations: 8 kB / 233.7 MB, free: 3.891 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 8.436e-05/0.02369, allocations: 133.7 kB / 233.9 MB, free: 3.75 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.02373, allocations: 23.91 kB / 233.9 MB, free: 3.727 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.02387, allocations: 111.4 kB / 234 MB, free: 3.613 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02387, allocations: 0 / 234 MB, free: 3.613 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.02387, allocations: 4 kB / 234 MB, free: 3.609 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02388, allocations: 0 / 234 MB, free: 3.609 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.02429, allocations: 439.4 kB / 234.4 MB, free: 3.152 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.02429, allocations: 8.25 kB / 234.4 MB, free: 3.145 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.02444, allocations: 71.92 kB / 234.5 MB, free: 3.074 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.02446, allocations: 27.84 kB / 234.5 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.02447, allocations: 0 / 234.5 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.02448, allocations: 4 kB / 234.5 MB, free: 3.043 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.02448, allocations: 0 / 234.5 MB, free: 3.043 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.02448, allocations: 4 kB / 234.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.0247, allocations: 313.7 kB / 234.9 MB, free: 2.715 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.02472, allocations: 15.86 kB / 234.9 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.02482, allocations: 15.98 kB / 234.9 MB, free: 2.684 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.02485, allocations: 23.94 kB / 234.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.02486, allocations: 8 kB / 234.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.296e-05/0.02493, allocations: 82.77 kB / 235 MB, free: 2.574 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02493, allocations: 0 / 235 MB, free: 2.574 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.02518, allocations: 95.72 kB / 235.1 MB, free: 2.48 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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 (21): * Single equations (assignments): 21 * 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.0001791/0.02536, allocations: 100.4 kB / 235.2 MB, free: 2.375 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.02553, allocations: 121.4 kB / 235.3 MB, free: 2.254 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.02554, allocations: 7.984 kB / 235.3 MB, free: 2.246 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.0256, allocations: 65.97 kB / 235.4 MB, free: 2.18 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.02595, allocations: 257.7 kB / 235.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.0287, allocations: 0.6048 MB / 236.2 MB, free: 1.25 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.02876, allocations: 100.2 kB / 236.3 MB, free: 1.133 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.87e-05/0.02885, allocations: 34.95 kB / 236.4 MB, free: 1.098 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02896, allocations: 91.36 kB / 236.5 MB, free: 1.008 MB / 234.7 MB Notification: Performance of SimCode: time 1.212e-06/0.02896, allocations: 0 / 236.5 MB, free: 1.008 MB / 234.7 MB Notification: Performance of Templates: time 0.004813/0.03377, allocations: 2.553 MB / 239 MB, free: 14.48 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.833118355832994]