Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008962/0.0008962, allocations: 80.31 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.0008899/0.0008899, allocations: 168.4 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9252/0.9252, allocations: 177.2 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.358e-05, allocations: 3.312 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004461/0.004485, allocations: 3.246 MB / 277.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.006634, allocations: 1.349 MB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.006846, allocations: 11.94 kB / 278.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.00723, allocations: 142.9 kB / 278.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.00819, allocations: 425.5 kB / 279.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.008583, allocations: 183.4 kB / 279.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.009119, allocations: 477.8 kB / 280 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.009272, allocations: 104.8 kB / 280.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.009543, allocations: 299.4 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.009725, allocations: 183.5 kB / 280.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.009767, allocations: 36 kB / 280.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.009974, allocations: 159.7 kB / 280.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.01002, allocations: 83.66 kB / 280.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.01011, allocations: 131.6 kB / 281 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.01051, allocations: 418.5 kB / 281.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01051, allocations: 0 / 281.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01051, allocations: 4 kB / 281.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.01051, allocations: 0 / 281.4 MB, free: 13.21 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.0007621/0.01127, allocations: 0.7687 MB / 282.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.01131, allocations: 12.03 kB / 282.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.01168, allocations: 136.5 kB / 282.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.01192, allocations: 248.8 kB / 282.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.01194, allocations: 29.38 kB / 282.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.01198, allocations: 32.38 kB / 282.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.01228, allocations: 327.5 kB / 282.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01229, allocations: 192 / 282.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.01231, allocations: 16.38 kB / 282.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01232, allocations: 15.88 kB / 283 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.01244, allocations: 103.3 kB / 283.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.01354, allocations: 1.234 MB / 284.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.01373, allocations: 138.2 kB / 284.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.01378, allocations: 55.33 kB / 284.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/0.01424, allocations: 0.7174 MB / 285.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.01426, allocations: 45.33 kB / 285.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.02e-07/0.01427, allocations: 0 / 285.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002206/0.01449, allocations: 141.8 kB / 285.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.01452, allocations: 81.11 kB / 285.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.0147, allocations: 334.1 kB / 285.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01471, allocations: 29.7 kB / 285.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01483, allocations: 294.7 kB / 286.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.01486, allocations: 63.47 kB / 286.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.01492, allocations: 75.59 kB / 286.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01504, allocations: 0.5156 MB / 286.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.01507, allocations: 28.64 kB / 286.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01519, allocations: 222.9 kB / 287 MB, free: 7.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.01536, allocations: 272.1 kB / 287.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01537, allocations: 0 / 287.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002357/0.0156, allocations: 257 kB / 287.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.01561, allocations: 7.938 kB / 287.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01562, allocations: 4 kB / 287.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01563, allocations: 8 kB / 287.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.01579, allocations: 80.47 kB / 287.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01579, allocations: 16.05 kB / 287.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.01589, allocations: 35.72 kB / 287.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.0159, allocations: 12 kB / 287.7 MB, free: 6.434 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 8.756e-05/0.01599, allocations: 180.4 kB / 287.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.01603, allocations: 35.81 kB / 287.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.01607, allocations: 29.8 kB / 287.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01607, allocations: 0 / 287.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01607, allocations: 4 kB / 287.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01608, allocations: 3.984 kB / 287.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.01641, allocations: 405.5 kB / 288.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01641, allocations: 3.984 kB / 288.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.01651, allocations: 43.92 kB / 288.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01652, allocations: 0 / 288.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01653, allocations: 4 kB / 288.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01653, allocations: 4 kB / 288.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01653, allocations: 0 / 288.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.01677, allocations: 426.6 kB / 288.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.0168, allocations: 31.89 kB / 288.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.01682, allocations: 8.312 kB / 288.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.01692, allocations: 12 kB / 288.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.01695, allocations: 23.84 kB / 288.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01696, allocations: 7.938 kB / 288.9 MB, free: 5.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.01705, allocations: 211 kB / 289.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01705, allocations: 0 / 289.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.01731, allocations: 83.78 kB / 289.2 MB, free: 4.871 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.0001037/0.01742, allocations: 111.2 kB / 289.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.01759, allocations: 138.5 kB / 289.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01759, allocations: 4.062 kB / 289.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.01764, allocations: 55.58 kB / 289.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.0179, allocations: 28.97 kB / 289.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.01871, allocations: 0.5868 MB / 290.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.01876, allocations: 100.1 kB / 290.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.01884, allocations: 34.95 kB / 290.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.01893, allocations: 110.2 kB / 290.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01893, allocations: 0 / 290.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of Templates: time 0.004656/0.02359, allocations: 2.467 MB / 292.8 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6623287252150476]