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.0007191/0.0007191, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001734, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006204/0.0006204, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008925/0.001513, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8225/0.8225, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1384/0.9609, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.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 1.202e-06/1.202e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.071e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003109/0.00313, allocations: 3.285 MB / 243 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004411, allocations: 1.302 MB / 244.3 MB, free: 1.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.004538, allocations: 8.625 kB / 244.3 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.004782, allocations: 150.9 kB / 244.5 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.005356, allocations: 460 kB / 244.9 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.005565, allocations: 157.7 kB / 245.1 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.005958, allocations: 461.8 kB / 245.5 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.006105, allocations: 112.3 kB / 245.6 MB, free: 456 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.006371, allocations: 320.7 kB / 245.9 MB, free: 136 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.00657, allocations: 180.2 kB / 246.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.006608, allocations: 32 kB / 246.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.006819, allocations: 156.4 kB / 246.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.00686, allocations: 60.5 kB / 246.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.006938, allocations: 111.8 kB / 246.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.007282, allocations: 361.2 kB / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.007292, allocations: 4 kB / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007293, allocations: 0 / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.007302, allocations: 4 kB / 246.8 MB, free: 15.25 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.00082/0.008122, allocations: 0.8062 MB / 247.6 MB, free: 14.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.008148, allocations: 8.031 kB / 247.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/0.008461, allocations: 125.6 kB / 247.8 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.008654, allocations: 202.2 kB / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.008671, allocations: 29.31 kB / 248 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.008706, allocations: 36.38 kB / 248 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.008965, allocations: 324.9 kB / 248.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.008974, allocations: 192 / 248.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.008993, allocations: 16.36 kB / 248.4 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.009001, allocations: 15.94 kB / 248.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.009103, allocations: 83.45 kB / 248.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.009998, allocations: 0.9798 MB / 249.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.01015, allocations: 125.1 kB / 249.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.01019, allocations: 45.69 kB / 249.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.01025, allocations: 12.64 kB / 249.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.01027, allocations: 39.06 kB / 249.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.01027, allocations: 0 / 249.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001809/0.01045, allocations: 134.6 kB / 249.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.01048, allocations: 77.11 kB / 249.9 MB, free: 12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.01061, allocations: 258.4 kB / 250.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.01062, allocations: 29.7 kB / 250.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.01069, allocations: 212.1 kB / 250.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.01073, allocations: 79.31 kB / 250.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.01078, allocations: 70 kB / 250.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.01085, allocations: 334.8 kB / 250.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.01088, allocations: 24.64 kB / 250.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.01096, allocations: 142.9 kB / 251 MB, free: 10.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.0111, allocations: 211.2 kB / 251.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0111, allocations: 0 / 251.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001621/0.01126, allocations: 185.4 kB / 251.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.01127, allocations: 8 kB / 251.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01128, allocations: 7.938 kB / 251.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01129, allocations: 4 kB / 251.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.0115, allocations: 99.81 kB / 251.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01151, allocations: 4 kB / 251.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.01159, allocations: 44.06 kB / 251.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.0116, allocations: 8 kB / 251.6 MB, free: 10.18 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 7.101e-05/0.01167, allocations: 141.6 kB / 251.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.01171, allocations: 23.91 kB / 251.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.01183, allocations: 103.4 kB / 251.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01183, allocations: 3.984 kB / 251.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01183, allocations: 4 kB / 251.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01183, allocations: 4 kB / 251.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.01218, allocations: 442.1 kB / 252.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01219, allocations: 8 kB / 252.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.01233, allocations: 66.45 kB / 252.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.01235, allocations: 27.75 kB / 252.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01236, allocations: 0 / 252.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01237, allocations: 7.984 kB / 252.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01237, allocations: 0 / 252.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.01237, allocations: 11.97 kB / 252.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.01255, allocations: 314.1 kB / 252.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.01257, allocations: 7.938 kB / 252.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.01266, allocations: 15.98 kB / 252.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.01269, allocations: 15.97 kB / 252.7 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.0127, allocations: 8 kB / 252.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.01276, allocations: 82.77 kB / 252.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01276, allocations: 0 / 252.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01298, allocations: 91.78 kB / 252.9 MB, free: 8.77 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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 (21): * Single equations (assignments): 21 * 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.0001264/0.01311, allocations: 108.4 kB / 253 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.01325, allocations: 129.3 kB / 253.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.01326, allocations: 4 kB / 253.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.01332, allocations: 60.77 kB / 253.2 MB, free: 8.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01359, allocations: 244 kB / 253.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.01622, allocations: 0.6212 MB / 254.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.01628, allocations: 100.2 kB / 254.2 MB, free: 7.418 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.988e-05/0.01636, allocations: 34.97 kB / 254.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.01645, allocations: 91.36 kB / 254.3 MB, free: 7.293 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01645, allocations: 0 / 254.3 MB, free: 7.293 MB / 250.7 MB Notification: Performance of Templates: time 0.004436/0.02088, allocations: 2.569 MB / 256.8 MB, free: 4.777 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.328838950023055]