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.002212/0.002212, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00254/0.00254, allocations: 163 kB / 25.02 MB, free: 8.43 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 1.375/1.375, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.363e-06/1.363e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.617e-05, allocations: 6.25 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004824/0.00485, allocations: 2.998 MB / 253.4 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.007287, allocations: 1.25 MB / 254.6 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.007438, allocations: 8 kB / 254.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.007874, allocations: 151 kB / 254.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008523/0.008726, allocations: 314 kB / 255.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.00929, allocations: 243.1 kB / 255.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.009934, allocations: 473.7 kB / 255.8 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.01014, allocations: 100.8 kB / 255.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.01048, allocations: 247.4 kB / 256.1 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.01076, allocations: 143.6 kB / 256.3 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.01082, allocations: 36 kB / 256.3 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.01112, allocations: 151.7 kB / 256.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.01122, allocations: 83.61 kB / 256.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.01138, allocations: 135.7 kB / 256.6 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.01215, allocations: 0.5451 MB / 257.2 MB, free: 13.06 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.01215, allocations: 8 kB / 257.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01216, allocations: 0 / 257.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01216, allocations: 0 / 257.2 MB, free: 13.05 MB / 250.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.001514/0.01368, allocations: 0.6727 MB / 257.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01371, allocations: 11.98 kB / 257.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.01441, allocations: 148.5 kB / 258 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.01492, allocations: 254 kB / 258.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.01495, allocations: 29.31 kB / 258.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.01502, allocations: 32.38 kB / 258.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.01574, allocations: 401.2 kB / 258.7 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01575, allocations: 192 / 258.7 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.01579, allocations: 16.38 kB / 258.7 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.0158, allocations: 15.94 kB / 258.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.01634, allocations: 245.9 kB / 259 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.01853, allocations: 1.146 MB / 260.1 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.01897, allocations: 181.2 kB / 260.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.01914, allocations: 73.69 kB / 260.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.02001, allocations: 0.5224 MB / 260.9 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.02004, allocations: 34.67 kB / 261 MB, free: 9.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.02005, allocations: 7.938 kB / 261 MB, free: 9.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006518/0.0207, allocations: 229.3 kB / 261.2 MB, free: 8.852 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.02077, allocations: 85.05 kB / 261.3 MB, free: 8.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.02111, allocations: 288.2 kB / 261.6 MB, free: 8.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.02114, allocations: 25.7 kB / 261.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.02135, allocations: 251.9 kB / 261.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.02141, allocations: 59.48 kB / 261.9 MB, free: 8.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.02153, allocations: 69.97 kB / 261.9 MB, free: 8.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.02172, allocations: 334.8 kB / 262.3 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.02189, allocations: 64.62 kB / 262.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.02218, allocations: 202.4 kB / 262.5 MB, free: 7.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.02267, allocations: 295.3 kB / 262.8 MB, free: 7.039 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.02268, allocations: 0 / 262.8 MB, free: 7.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006307/0.02331, allocations: 333 kB / 263.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.02333, allocations: 12.55 kB / 263.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.02334, allocations: 4 kB / 263.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.02337, allocations: 12 kB / 263.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.02366, allocations: 71.91 kB / 263.2 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.02368, allocations: 15.92 kB / 263.3 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.02389, allocations: 35.78 kB / 263.3 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.02391, allocations: 12 kB / 263.3 MB, free: 6.547 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 0.000175/0.02409, allocations: 153.7 kB / 263.5 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.02417, allocations: 31.81 kB / 263.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.02425, allocations: 33.8 kB / 263.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.02425, allocations: 8 kB / 263.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.02426, allocations: 0 / 263.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.02426, allocations: 3.984 kB / 263.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.02496, allocations: 418.8 kB / 263.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.02497, allocations: 4 kB / 263.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.02522, allocations: 43.91 kB / 264 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.02522, allocations: 0 / 264 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.02524, allocations: 8 kB / 264 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.02524, allocations: 4.031 kB / 264 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.02525, allocations: 7.984 kB / 264 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.0259, allocations: 423.2 kB / 264.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.02596, allocations: 31.81 kB / 264.5 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.02599, allocations: 4.312 kB / 264.5 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.02623, allocations: 15.98 kB / 264.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.02628, allocations: 11.92 kB / 264.5 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.0263, allocations: 16.06 kB / 264.5 MB, free: 5.281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.02652, allocations: 195.1 kB / 264.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02652, allocations: 3.938 kB / 264.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004553/0.02698, allocations: 79.84 kB / 264.8 MB, free: 5.012 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 0.000201/0.02718, allocations: 111.2 kB / 264.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.0276, allocations: 171.7 kB / 265.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0276, allocations: 4 kB / 265.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.02776, allocations: 65.09 kB / 265.1 MB, free: 4.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.02819, allocations: 28.98 kB / 265.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.02934, allocations: 0.6107 MB / 265.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.02954, allocations: 168.8 kB / 265.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.02966, allocations: 34.27 kB / 266 MB, free: 3.766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.02973, allocations: 24.5 kB / 266 MB, free: 3.742 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02973, allocations: 0 / 266 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Templates: time 0.007369/0.0371, allocations: 2.168 MB / 268.1 MB, free: 1.598 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.277809293009341]