Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001474/0.001474, allocations: 81.41 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001458/0.001458, allocations: 163 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.564/1.564, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.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.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.322e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007302/0.007325, allocations: 5.573 MB / 330.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003962/0.01129, allocations: 1.665 MB / 332.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008392/0.01213, allocations: 54.69 kB / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.01282, allocations: 315.4 kB / 332.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.01434, allocations: 456.5 kB / 333.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.01511, allocations: 354.9 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.01754, allocations: 2.218 MB / 335.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.01944, allocations: 1.353 MB / 337 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.02169, allocations: 1.562 MB / 338.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.02345, allocations: 1.048 MB / 339.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004392/0.02388, allocations: 288 kB / 339.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.02465, allocations: 407.6 kB / 340.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007307/0.02539, allocations: 0.7207 MB / 341 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.02657, allocations: 0.8576 MB / 341.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.0308, allocations: 3.681 MB / 345.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.03081, allocations: 3.984 kB / 345.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.03081, allocations: 0 / 345.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.058e-05/0.03088, allocations: 0 / 345.6 MB, free: 0.5508 MB / 302.1 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.004834/0.03571, allocations: 2.437 MB / 348 MB, free: 14.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.03576, allocations: 12.03 kB / 348 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007247/0.03649, allocations: 263.5 kB / 348.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.03878, allocations: 1.246 MB / 349.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.03895, allocations: 160.5 kB / 349.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/0.03927, allocations: 204.4 kB / 349.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.04411, allocations: 2.636 MB / 352.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.04415, allocations: 7.938 kB / 352.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.04434, allocations: 91.98 kB / 352.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-05/0.04441, allocations: 52 kB / 352.7 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.04802, allocations: 2.077 MB / 354.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.05924, allocations: 6.331 MB / 361.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.06137, allocations: 1.305 MB / 362.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.06298, allocations: 0.8856 MB / 363.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.06302, allocations: 13 kB / 363.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.06307, allocations: 43.55 kB / 363.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.477e-06/0.06307, allocations: 0 / 363.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.008421/0.0715, allocations: 3.891 MB / 367.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.07155, allocations: 60.41 kB / 367.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.0728, allocations: 0.8445 MB / 368.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.07287, allocations: 41.7 kB / 368.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.07355, allocations: 0.8591 MB / 369 MB, free: 8.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.07386, allocations: 345 kB / 369.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.07417, allocations: 170.6 kB / 369.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.0744, allocations: 345.9 kB / 369.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/0.07523, allocations: 0.4938 MB / 370.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.07625, allocations: 0.6685 MB / 371 MB, free: 6.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.07816, allocations: 1.205 MB / 372.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.07817, allocations: 4 kB / 372.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002901/0.08107, allocations: 1.617 MB / 373.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.08109, allocations: 8 kB / 373.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.08111, allocations: 4 kB / 373.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.08229, allocations: 467 kB / 374.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.08299, allocations: 171.7 kB / 374.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009996/0.09298, allocations: 8.73 MB / 383.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.09364, allocations: 43.95 kB / 383.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.09371, allocations: 36 kB / 383.3 MB, free: 9.801 MB / 350.1 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.001083/0.0948, allocations: 0.6488 MB / 383.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.09501, allocations: 107.3 kB / 384 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.09527, allocations: 133.8 kB / 384.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.0953, allocations: 11.98 kB / 384.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.09531, allocations: 4 kB / 384.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.09532, allocations: 3.984 kB / 384.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.1008, allocations: 3.054 MB / 387.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.1008, allocations: 4 kB / 387.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.1013, allocations: 119.9 kB / 387.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.1024, allocations: 450.9 kB / 387.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.1024, allocations: 24.02 kB / 387.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009901/0.1123, allocations: 8.641 MB / 396.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1123, allocations: 0 / 396.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.1163, allocations: 2.293 MB / 398.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.1168, allocations: 207.3 kB / 399 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.117, allocations: 23.92 kB / 399 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.1174, allocations: 43.95 kB / 399 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.1177, allocations: 88.77 kB / 399.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.1177, allocations: 28 kB / 399.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000906/0.1186, allocations: 0.5888 MB / 399.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1186, allocations: 0 / 399.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001466/0.1201, allocations: 387.9 kB / 400.1 MB, free: 8.449 MB / 366.1 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.0003326/0.1204, allocations: 143.1 kB / 400.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.1234, allocations: 1.772 MB / 402 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1234, allocations: 1.312 kB / 402 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.1252, allocations: 1.203 MB / 403.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.1265, allocations: 279.1 kB / 403.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/0.1327, allocations: 3.566 MB / 407.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.134, allocations: 1.138 MB / 408.2 MB, free: 160 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.1345, allocations: 188.7 kB / 408.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.1347, allocations: 72.48 kB / 408.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1347, allocations: 0 / 408.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of Templates: time 0.03657/0.1713, allocations: 19.89 MB / 428.3 MB, free: 12.29 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.376406978815794]