Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001251, allocations: 109.4 kB / 18.36 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08906, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007477/0.09658, allocations: 6.183 MB / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.1001, allocations: 1.691 MB / 336.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.1007, allocations: 39.81 kB / 336.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.1014, allocations: 289.6 kB / 336.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.1026, allocations: 425.2 kB / 337.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.1033, allocations: 355.5 kB / 337.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1054, allocations: 2.153 MB / 339.8 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.1079, allocations: 2.39 MB / 342.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.1091, allocations: 1.024 MB / 343.2 MB, free: 5.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.1109, allocations: 1.206 MB / 344.4 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.1113, allocations: 292 kB / 344.7 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.112, allocations: 427.7 kB / 345.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.1126, allocations: 0.6974 MB / 345.8 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.1138, allocations: 1.237 MB / 347.1 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.1171, allocations: 3.614 MB / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1172, allocations: 0 / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1172, allocations: 0 / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.1173, allocations: 0 / 350.7 MB, free: 13.64 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.004742/0.122, allocations: 2.472 MB / 353.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1221, allocations: 11.89 kB / 353.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.1225, allocations: 230.2 kB / 353.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.1245, allocations: 1.17 MB / 354.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1247, allocations: 164.5 kB / 354.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.125, allocations: 208.1 kB / 354.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.1291, allocations: 2.603 MB / 357.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.1292, allocations: 3.938 kB / 357.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.1293, allocations: 80 kB / 357.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/0.1294, allocations: 59.98 kB / 357.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/0.1328, allocations: 2.085 MB / 359.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.1435, allocations: 7.302 MB / 367.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.1458, allocations: 2.359 MB / 369.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.1472, allocations: 0.9433 MB / 370.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.1472, allocations: 20.88 kB / 370.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1473, allocations: 39.56 kB / 370.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.1473, allocations: 0 / 370.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007449/0.1547, allocations: 4.181 MB / 374.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1548, allocations: 64.34 kB / 374.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.156, allocations: 0.8563 MB / 375.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/0.156, allocations: 41.7 kB / 375.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.1566, allocations: 0.8333 MB / 376.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.1568, allocations: 327.2 kB / 376.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.1571, allocations: 174.6 kB / 376.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1573, allocations: 353.9 kB / 377.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.158, allocations: 497.7 kB / 377.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008039/0.1588, allocations: 0.6694 MB / 378.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1498/0.3086, allocations: 1.198 MB / 379.6 MB, free: 51.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.3086, allocations: 1.281 kB / 379.6 MB, free: 51.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002975/0.3116, allocations: 1.62 MB / 381.2 MB, free: 51.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3117, allocations: 7.281 kB / 381.2 MB, free: 51.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.3117, allocations: 5.484 kB / 381.2 MB, free: 51.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.3129, allocations: 466.8 kB / 381.7 MB, free: 51.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.3136, allocations: 179.3 kB / 381.9 MB, free: 51.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.3211, allocations: 9.286 MB / 391.1 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.3217, allocations: 50.86 kB / 391.2 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/0.3218, allocations: 35.98 kB / 391.2 MB, free: 44.08 MB / 318.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.0009413/0.3228, allocations: 0.6298 MB / 391.9 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.323, allocations: 104.9 kB / 392 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.3233, allocations: 134.6 kB / 392.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.3233, allocations: 13.98 kB / 392.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.3233, allocations: 1.828 kB / 392.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.3234, allocations: 5.641 kB / 392.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/0.3289, allocations: 3.487 MB / 395.6 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.329, allocations: 0 / 395.6 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.3295, allocations: 128.3 kB / 395.7 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/0.3303, allocations: 462.5 kB / 396.2 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.3304, allocations: 19.41 kB / 396.2 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006412/0.3368, allocations: 9.198 MB / 405.4 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3368, allocations: 0 / 405.4 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.3396, allocations: 2.317 MB / 407.7 MB, free: 33.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.3401, allocations: 275.6 kB / 408 MB, free: 32.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3402, allocations: 23.36 kB / 408 MB, free: 32.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.3406, allocations: 46.66 kB / 408.1 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3408, allocations: 86.25 kB / 408.1 MB, free: 32.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.3408, allocations: 22.5 kB / 408.2 MB, free: 32.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006313/0.3415, allocations: 0.6039 MB / 408.8 MB, free: 32.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3415, allocations: 0 / 408.8 MB, free: 32.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001334/0.3428, allocations: 384.4 kB / 409.1 MB, free: 32.5 MB / 318.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.000226/0.3431, allocations: 136.6 kB / 409.3 MB, free: 32.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3452, allocations: 1.82 MB / 411.1 MB, free: 31.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3452, allocations: 0 / 411.1 MB, free: 31.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.3465, allocations: 1.24 MB / 412.3 MB, free: 29.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3476, allocations: 311 kB / 412.6 MB, free: 29.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.3519, allocations: 3.596 MB / 416.2 MB, free: 26.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.3528, allocations: 1.714 MB / 417.9 MB, free: 24.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004325/0.3533, allocations: 192.8 kB / 418.1 MB, free: 24.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3534, allocations: 71.42 kB / 418.2 MB, free: 24.06 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3534, allocations: 0 / 418.2 MB, free: 24.06 MB / 318.1 MB Notification: Performance of Templates: time 0.02873/0.3822, allocations: 20.72 MB / 438.9 MB, free: 3.348 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches