Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001091/0.001091, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.002786, 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.0008051/0.0008051, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002037, 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.8482/0.8482, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1513/0.9996, allocations: 52.48 MB / 238.5 MB, free: 7.629 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.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.956e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007225/0.007245, allocations: 6.017 MB / 245.8 MB, free: 332 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.01139, allocations: 1.733 MB / 247.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.01258, allocations: 55.69 kB / 247.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.01329, allocations: 313.5 kB / 247.8 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.0147, allocations: 440 kB / 248.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.01546, allocations: 356.8 kB / 248.6 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.01788, allocations: 2.222 MB / 250.8 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.01966, allocations: 1.384 MB / 252.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.0219, allocations: 1.684 MB / 253.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.02362, allocations: 1.168 MB / 255.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.02411, allocations: 288 kB / 255.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.02488, allocations: 403.7 kB / 255.8 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007954/0.02568, allocations: 0.5972 MB / 256.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009171/0.0266, allocations: 0.7097 MB / 257.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.02881, allocations: 1.909 MB / 259 MB, free: 3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.02882, allocations: 0 / 259 MB, free: 3 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02882, allocations: 0 / 259 MB, free: 3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.811e-05/0.02888, allocations: 0.75 kB / 259 MB, free: 3 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003915/0.0328, allocations: 2.762 MB / 261.7 MB, free: 212 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.03283, allocations: 12.02 kB / 261.8 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.0334, allocations: 397.9 kB / 262.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.03481, allocations: 0.7655 MB / 262.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.03492, allocations: 152.5 kB / 263.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.0352, allocations: 212.3 kB / 263.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.03765, allocations: 1.49 MB / 264.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.03769, allocations: 7.938 kB / 264.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.03786, allocations: 80 kB / 264.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/0.03793, allocations: 56 kB / 264.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.03916, allocations: 0.5412 MB / 265.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006842/0.046, allocations: 4.432 MB / 269.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.04714, allocations: 0.7245 MB / 270.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/0.04782, allocations: 423.5 kB / 271 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.04787, allocations: 21 kB / 271 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.0479, allocations: 43.5 kB / 271.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.807e-06/0.04791, allocations: 0 / 271.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003764/0.05167, allocations: 1.635 MB / 272.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.05171, allocations: 64.41 kB / 272.8 MB, free: 4.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.05231, allocations: 0.5935 MB / 273.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.05237, allocations: 37.7 kB / 273.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.05277, allocations: 0.7555 MB / 274.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.053, allocations: 337 kB / 274.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.05324, allocations: 166.5 kB / 274.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.05335, allocations: 353.8 kB / 275 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.0536, allocations: 108.8 kB / 275.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.05392, allocations: 293.6 kB / 275.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.05459, allocations: 0.5194 MB / 275.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.05459, allocations: 0 / 275.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001091/0.05568, allocations: 0.63 MB / 276.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.0557, allocations: 8 kB / 276.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.05571, allocations: 4 kB / 276.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.05632, allocations: 219.5 kB / 276.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.05698, allocations: 195.7 kB / 276.9 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/0.06227, allocations: 6.496 MB / 283.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.06273, allocations: 24 kB / 283.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.0628, allocations: 32.05 kB / 283.5 MB, free: 9.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004284/0.06323, allocations: 180.3 kB / 283.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.06342, allocations: 87.91 kB / 283.8 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.0636, allocations: 121.9 kB / 283.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.06362, allocations: 15.98 kB / 283.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.06363, allocations: 0 / 283.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.06364, allocations: 3.984 kB / 283.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.06683, allocations: 1.572 MB / 285.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.06684, allocations: 0 / 285.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.06736, allocations: 139.8 kB / 285.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.06766, allocations: 123.3 kB / 285.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/0.06821, allocations: 220.8 kB / 285.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.06827, allocations: 20 kB / 286 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/0.07342, allocations: 6.49 MB / 292.5 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.07342, allocations: 0 / 292.5 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.07484, allocations: 0.8871 MB / 293.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.07497, allocations: 16 kB / 293.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.07529, allocations: 23.98 kB / 293.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.07548, allocations: 84.78 kB / 293.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.07553, allocations: 19.98 kB / 293.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003638/0.0759, allocations: 288.5 kB / 293.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0759, allocations: 4 kB / 293.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001637/0.07753, allocations: 387.9 kB / 294.1 MB, free: 14.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002896/0.07782, allocations: 137.5 kB / 294.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.0793, allocations: 1.066 MB / 295.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.79e-05/0.07933, allocations: 18.62 kB / 295.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.08119, allocations: 0.9108 MB / 296.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.08358, allocations: 3.09 MB / 299.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.0952, allocations: 3.434 MB / 302.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.09578, allocations: 474.5 kB / 303.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.0963, allocations: 116.8 kB / 303.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006949/0.09699, allocations: 297.1 kB / 303.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of SimCode: time 1.894e-06/0.09699, allocations: 0 / 303.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of Templates: time 0.02877/0.1258, allocations: 22.48 MB / 326.1 MB, free: 13.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.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: 3.091810245066881]