Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002594, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.00228, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9615/0.9615, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07605/1.038, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.879e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00319/0.003208, allocations: 3.312 MB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.004846, allocations: 1.409 MB / 249.7 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.005001, allocations: 7.938 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.005261, allocations: 155 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.005868, allocations: 421.4 kB / 250.3 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.00613, allocations: 171.5 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.006563, allocations: 485.8 kB / 250.9 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.006707, allocations: 113.5 kB / 251 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.006984, allocations: 343.9 kB / 251.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.007166, allocations: 171.6 kB / 251.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.007202, allocations: 36 kB / 251.6 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.007431, allocations: 159.7 kB / 251.7 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.007473, allocations: 67.75 kB / 251.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.007552, allocations: 111.8 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.007904, allocations: 382.6 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.007917, allocations: 0 / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007917, allocations: 0 / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.007929, allocations: 0 / 252.3 MB, free: 6.332 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.0008462/0.008775, allocations: 0.8088 MB / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.545e-05/0.0088, allocations: 12.62 kB / 253.1 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.009153, allocations: 140.6 kB / 253.2 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.009355, allocations: 202.3 kB / 253.4 MB, free: 5.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.009373, allocations: 25.38 kB / 253.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.00941, allocations: 36.38 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.009671, allocations: 325.7 kB / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.009681, allocations: 192 / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.009699, allocations: 16.38 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.009708, allocations: 15.94 kB / 253.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.009815, allocations: 83.44 kB / 253.9 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.01072, allocations: 0.984 MB / 254.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.01088, allocations: 133.1 kB / 255.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.01091, allocations: 41.7 kB / 255.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/0.01129, allocations: 0.4973 MB / 255.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01131, allocations: 34.56 kB / 255.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 8.51e-07/0.01131, allocations: 0 / 255.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001691/0.01148, allocations: 113.5 kB / 255.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.01151, allocations: 85.11 kB / 255.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.01165, allocations: 278.8 kB / 256.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.01166, allocations: 25.7 kB / 256.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.01174, allocations: 228.5 kB / 256.3 MB, free: 2.023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.01177, allocations: 63.45 kB / 256.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.01182, allocations: 69.95 kB / 256.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.0119, allocations: 342.7 kB / 256.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.01192, allocations: 24.64 kB / 256.8 MB, free: 1.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.012, allocations: 158.4 kB / 257 MB, free: 1.301 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.01214, allocations: 232.6 kB / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01214, allocations: 0 / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000167/0.01231, allocations: 205.4 kB / 257.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01232, allocations: 8 kB / 257.4 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01233, allocations: 4 kB / 257.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01234, allocations: 4 kB / 257.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.01255, allocations: 91.89 kB / 257.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.01256, allocations: 15.92 kB / 257.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.01264, allocations: 40.05 kB / 257.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01265, allocations: 19.94 kB / 257.6 MB, free: 0.6289 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 6.759e-05/0.01272, allocations: 129.7 kB / 257.7 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.01276, allocations: 23.97 kB / 257.7 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.01279, allocations: 25.8 kB / 257.8 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01279, allocations: 4 kB / 257.8 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01279, allocations: 0 / 257.8 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01279, allocations: 0 / 257.8 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.01306, allocations: 303.4 kB / 258.1 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01306, allocations: 32 / 258.1 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.01318, allocations: 67.88 kB / 258.1 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.0132, allocations: 23.8 kB / 258.2 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01321, allocations: 0 / 258.2 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01321, allocations: 4 kB / 258.2 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01322, allocations: 4.25 kB / 258.2 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01322, allocations: 0 / 258.2 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.01341, allocations: 315.5 kB / 258.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01343, allocations: 4 kB / 258.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.01352, allocations: 16.02 kB / 258.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.01355, allocations: 19.92 kB / 258.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01355, allocations: 0 / 258.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.01361, allocations: 92.64 kB / 258.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01361, allocations: 0 / 258.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01383, allocations: 83.78 kB / 258.7 MB, free: 15.47 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 9.486e-05/0.01392, allocations: 108.3 kB / 258.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.01405, allocations: 121.5 kB / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.01406, allocations: 4 kB / 258.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.0141, allocations: 51.8 kB / 259 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.0143, allocations: 49.05 kB / 259 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.01686, allocations: 0.615 MB / 259.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.297e-05/0.01691, allocations: 92.3 kB / 259.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.432e-05/0.01699, allocations: 34.95 kB / 259.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.713e-05/0.01707, allocations: 87.36 kB / 259.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01707, allocations: 4 kB / 259.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004255/0.02133, allocations: 2.522 MB / 262.4 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4261979330331087]