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.000759/0.000759, allocations: 82.17 kB / 21.42 MB, free: 3.078 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.0009029/0.0009029, allocations: 152.5 kB / 24.81 MB, free: 8.742 MB / 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 0.9273/0.9273, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] 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.246e-06/3.246e-06, allocations: 4 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.331e-05, allocations: 6.25 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003255/0.003278, allocations: 3.237 MB / 271.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.004845, allocations: 1.238 MB / 272.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.005029, allocations: 4 kB / 272.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.005379, allocations: 154.9 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000763/0.006142, allocations: 441.4 kB / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.00643, allocations: 167.4 kB / 273.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.00692, allocations: 469.8 kB / 274.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.007072, allocations: 96.81 kB / 274.2 MB, free: 420 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.007358, allocations: 283.4 kB / 274.5 MB, free: 136 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.007561, allocations: 175.5 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.007603, allocations: 36 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.007839, allocations: 147.7 kB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.007885, allocations: 87.61 kB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.007974, allocations: 131.7 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.00841, allocations: 402.5 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.008411, allocations: 0 / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.008412, allocations: 0 / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.008417, allocations: 0 / 275.4 MB, free: 15.17 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.001122/0.009538, allocations: 0.7726 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.009574, allocations: 12.91 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.009909, allocations: 124.5 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.01014, allocations: 243.9 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.01016, allocations: 29.38 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.0102, allocations: 32.38 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.01051, allocations: 335.4 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01052, allocations: 192 / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.01054, allocations: 12.38 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.01055, allocations: 11.94 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01067, allocations: 99.41 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.01194, allocations: 1.222 MB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.01213, allocations: 146.1 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.01218, allocations: 47.36 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/0.01263, allocations: 0.6978 MB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01265, allocations: 37.39 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.01265, allocations: 4.109 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002148/0.01287, allocations: 137.4 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.0129, allocations: 81.11 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.01307, allocations: 330.2 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.01309, allocations: 29.7 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01321, allocations: 294.6 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.01324, allocations: 67.45 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.0133, allocations: 67.62 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01343, allocations: 0.5195 MB / 280.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.01346, allocations: 28.62 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.01358, allocations: 222.9 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01376, allocations: 280.2 kB / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01376, allocations: 0 / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002381/0.014, allocations: 245 kB / 281.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01401, allocations: 8 kB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.01402, allocations: 11.92 kB / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.01404, allocations: 8.562 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01419, allocations: 83.89 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.0142, allocations: 8 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.01429, allocations: 35.77 kB / 281.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01431, allocations: 15.94 kB / 281.7 MB, free: 8.441 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 9.04e-05/0.0144, allocations: 180.4 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.01444, allocations: 35.81 kB / 281.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.01448, allocations: 25.8 kB / 281.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01448, allocations: 4 kB / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.01448, allocations: 0 / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01448, allocations: 4 kB / 281.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.01482, allocations: 409.7 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01482, allocations: 64 / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.01493, allocations: 47.91 kB / 282.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01493, allocations: 0 / 282.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01494, allocations: 8 kB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01494, allocations: 0 / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01494, allocations: 4 kB / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.01519, allocations: 429.5 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.01522, allocations: 27.86 kB / 282.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01523, allocations: 4 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.01533, allocations: 15.98 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.01537, allocations: 19.84 kB / 282.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.01537, allocations: 4 kB / 282.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003387/0.01571, allocations: 211 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 0 / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01598, allocations: 83.72 kB / 283.1 MB, free: 6.887 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.0001135/0.0161, allocations: 115.2 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.01625, allocations: 136.3 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01625, allocations: 4.062 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.0163, allocations: 47.61 kB / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01656, allocations: 28.97 kB / 283.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.01741, allocations: 0.5915 MB / 284 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.405e-05/0.01746, allocations: 96.23 kB / 284.1 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.01753, allocations: 34.27 kB / 284.2 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.634e-05/0.01763, allocations: 110.2 kB / 284.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01763, allocations: 0 / 284.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of Templates: time 0.004569/0.0222, allocations: 2.395 MB / 286.7 MB, free: 3.309 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","",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.666667972691357]