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.001215/0.001215, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001132/0.001132, allocations: 169.6 kB / 25.6 MB, free: 8.609 MB / 18.57 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.9622/0.9622, allocations: 158.6 MB / 187.5 MB, free: 2.777 MB / 170.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.853e-06/1.853e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.059e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003313/0.003333, allocations: 3.187 MB / 254.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.004776, allocations: 1.285 MB / 255.9 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.004925, allocations: 11.94 kB / 255.9 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.00524, allocations: 143 kB / 256.1 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.005821, allocations: 318 kB / 256.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.006127, allocations: 243.2 kB / 256.6 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.006546, allocations: 477.6 kB / 257.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.006696, allocations: 92.77 kB / 257.2 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.006934, allocations: 283.4 kB / 257.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.007121, allocations: 179.5 kB / 257.6 MB, free: 1.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.007166, allocations: 36 kB / 257.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.007365, allocations: 139.8 kB / 257.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.007413, allocations: 95.59 kB / 257.9 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.007496, allocations: 127.7 kB / 258 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.007871, allocations: 398.5 kB / 258.4 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007874, allocations: 4 kB / 258.4 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.007874, allocations: 0 / 258.4 MB, free: 240 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.007878, allocations: 0 / 258.4 MB, free: 240 kB / 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.0008036/0.008682, allocations: 0.7688 MB / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.008717, allocations: 15.98 kB / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.009025, allocations: 128.5 kB / 259.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.009243, allocations: 232 kB / 259.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.009261, allocations: 29.38 kB / 259.6 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.009296, allocations: 32.38 kB / 259.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.009594, allocations: 327.5 kB / 259.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.009603, allocations: 4.125 kB / 259.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.009625, allocations: 16.38 kB / 260 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.009634, allocations: 15.94 kB / 260 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.009754, allocations: 99.39 kB / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.01084, allocations: 1.23 MB / 261.3 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.01102, allocations: 146 kB / 261.4 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.01107, allocations: 51.34 kB / 261.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.01152, allocations: 0.6978 MB / 262.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01154, allocations: 37.39 kB / 262.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.01154, allocations: 0 / 262.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002132/0.01176, allocations: 137.4 kB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.01179, allocations: 89.11 kB / 262.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01196, allocations: 322.2 kB / 262.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.01198, allocations: 33.7 kB / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01209, allocations: 294.6 kB / 263.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.01213, allocations: 67.36 kB / 263.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.01219, allocations: 75.61 kB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.01231, allocations: 0.5156 MB / 263.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.01235, allocations: 28.62 kB / 263.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.01246, allocations: 218.9 kB / 264 MB, free: 10.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01264, allocations: 273.5 kB / 264.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01264, allocations: 256 / 264.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002252/0.01286, allocations: 245.3 kB / 264.5 MB, free: 9.676 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01288, allocations: 8 kB / 264.5 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01288, allocations: 8 kB / 264.5 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.0129, allocations: 8 kB / 264.5 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01305, allocations: 83.83 kB / 264.6 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01306, allocations: 8 kB / 264.6 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.01315, allocations: 35.73 kB / 264.6 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01316, allocations: 12.28 kB / 264.7 MB, free: 9.516 MB / 250.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 8.844e-05/0.01325, allocations: 188.4 kB / 264.8 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.01329, allocations: 27.86 kB / 264.9 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.01332, allocations: 29.8 kB / 264.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01333, allocations: 0 / 264.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01333, allocations: 0 / 264.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01333, allocations: 0 / 264.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.01366, allocations: 417.4 kB / 265.3 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01366, allocations: 3.984 kB / 265.3 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.01376, allocations: 40.02 kB / 265.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01377, allocations: 4 kB / 265.3 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01378, allocations: 11.92 kB / 265.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01378, allocations: 0 / 265.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01378, allocations: 4 kB / 265.4 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.01402, allocations: 426.3 kB / 265.8 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.01405, allocations: 31.72 kB / 265.8 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.01407, allocations: 4 kB / 265.8 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.01416, allocations: 11.98 kB / 265.8 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.0142, allocations: 23.89 kB / 265.9 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.0142, allocations: 4 kB / 265.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.821e-05/0.01429, allocations: 210.9 kB / 266.1 MB, free: 8.035 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01429, allocations: 0 / 266.1 MB, free: 8.035 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01455, allocations: 87.8 kB / 266.1 MB, free: 7.949 MB / 250.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 9.941e-05/0.01465, allocations: 111.2 kB / 266.3 MB, free: 7.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01479, allocations: 131.6 kB / 266.4 MB, free: 7.703 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01479, allocations: 0 / 266.4 MB, free: 7.703 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.01484, allocations: 52.78 kB / 266.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01509, allocations: 33.56 kB / 266.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.0159, allocations: 0.5905 MB / 267.1 MB, free: 6.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.295e-05/0.01599, allocations: 84.31 kB / 267.1 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.131e-05/0.01607, allocations: 34.27 kB / 267.2 MB, free: 6.852 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/0.01617, allocations: 118.2 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01617, allocations: 7.938 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of Templates: time 0.004074/0.02024, allocations: 2.371 MB / 269.7 MB, free: 4.379 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6534622851759195]