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.001993/0.001993, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001874/0.001874, allocations: 153.5 kB / 24.27 MB, free: 168 kB / 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 1.578/1.578, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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 3.887e-06/3.887e-06, allocations: 3.984 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.844e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005156/0.005184, allocations: 3.235 MB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.007519, allocations: 1.257 MB / 271.8 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.007687, allocations: 11.94 kB / 271.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.008118, allocations: 143 kB / 272 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.009231, allocations: 449.4 kB / 272.4 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.009644, allocations: 175.4 kB / 272.6 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.01033, allocations: 461.8 kB / 273 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.01056, allocations: 108.8 kB / 273.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.01089, allocations: 239.5 kB / 273.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.01118, allocations: 159.5 kB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.01124, allocations: 36 kB / 273.5 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.01158, allocations: 155.7 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.01167, allocations: 83.67 kB / 273.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.01184, allocations: 131.7 kB / 273.9 MB, free: 112 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008062/0.01264, allocations: 0.5568 MB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01264, allocations: 0 / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01265, allocations: 3.938 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.01265, allocations: 0 / 274.5 MB, free: 15.55 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.001565/0.01422, allocations: 0.788 MB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.01425, allocations: 8.922 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.01495, allocations: 152.5 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.0154, allocations: 256.9 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.01543, allocations: 29.36 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.0155, allocations: 36.33 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.01627, allocations: 414.8 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.01629, allocations: 4.188 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.01633, allocations: 12.38 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.01635, allocations: 11.94 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.01684, allocations: 233.8 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.01911, allocations: 1.332 MB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.01954, allocations: 197.8 kB / 277.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.01971, allocations: 91.55 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008362/0.02054, allocations: 0.6976 MB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.02058, allocations: 37.39 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.687e-06/0.02058, allocations: 7.938 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005571/0.02114, allocations: 209.5 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.02121, allocations: 85.05 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.02163, allocations: 390.3 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.02165, allocations: 33.7 kB / 279.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.02188, allocations: 298.7 kB / 279.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.02195, allocations: 63.48 kB / 279.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.02207, allocations: 83.62 kB / 279.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000303/0.02237, allocations: 0.5196 MB / 280.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.02253, allocations: 64.62 kB / 280.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.02284, allocations: 259 kB / 280.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.02334, allocations: 345.4 kB / 281.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02335, allocations: 0 / 281.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005775/0.02392, allocations: 325 kB / 281.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02394, allocations: 8 kB / 281.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.02396, allocations: 7.984 kB / 281.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.02398, allocations: 8.562 kB / 281.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.02428, allocations: 79.91 kB / 281.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.0243, allocations: 11.94 kB / 281.5 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.02449, allocations: 35.77 kB / 281.5 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.02451, allocations: 16 kB / 281.5 MB, free: 7.984 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.0001894/0.0247, allocations: 200.4 kB / 281.7 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.02478, allocations: 35.81 kB / 281.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.02485, allocations: 30.05 kB / 281.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02485, allocations: 3.938 kB / 281.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.02486, allocations: 4 kB / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.02486, allocations: 8 kB / 281.8 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/0.02563, allocations: 0.5125 MB / 282.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.02564, allocations: 0 / 282.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.02585, allocations: 51.91 kB / 282.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.02585, allocations: 0 / 282.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.02587, allocations: 0 / 282.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02587, allocations: 4 kB / 282.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02587, allocations: 0 / 282.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.02659, allocations: 0.5129 MB / 282.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.02664, allocations: 27.84 kB / 282.9 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.02668, allocations: 4 kB / 282.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.02688, allocations: 12 kB / 282.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.02694, allocations: 15.91 kB / 283 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.02695, allocations: 8 kB / 283 MB, free: 6.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002584/0.02721, allocations: 251 kB / 283.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02721, allocations: 0 / 283.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004299/0.02764, allocations: 83.78 kB / 283.3 MB, free: 6.152 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.0001797/0.02782, allocations: 119.2 kB / 283.4 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.02825, allocations: 192 kB / 283.6 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02825, allocations: 0 / 283.6 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.02841, allocations: 79.53 kB / 283.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.02879, allocations: 28.97 kB / 283.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02993, allocations: 0.6084 MB / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.03011, allocations: 168.8 kB / 284.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.03024, allocations: 38.27 kB / 284.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.03031, allocations: 28.5 kB / 284.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03031, allocations: 0 / 284.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of Templates: time 0.006758/0.03707, allocations: 2.199 MB / 286.7 MB, free: 2.664 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.628935963031836]