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.001494/0.001494, allocations: 104 kB / 17.58 MB, free: 5.422 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.001375/0.001375, allocations: 188.2 kB / 18.51 MB, free: 4.508 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.586/1.586, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001307/0.001307, allocations: 55.92 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.009019/0.1227, allocations: 6.184 MB / 333.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.1275, allocations: 1.687 MB / 335.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.129, allocations: 35.88 kB / 335.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.1303, allocations: 297.5 kB / 335.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1327, allocations: 417.2 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1338, allocations: 347.6 kB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.1368, allocations: 2.149 MB / 338.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003422/0.1403, allocations: 2.382 MB / 340.7 MB, free: 6.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.1419, allocations: 1.024 MB / 341.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.1445, allocations: 1.206 MB / 343 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.1456, allocations: 288 kB / 343.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.1476, allocations: 435.7 kB / 343.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.1491, allocations: 0.6974 MB / 344.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.1516, allocations: 1.229 MB / 345.6 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005647/0.1573, allocations: 3.587 MB / 349.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1573, allocations: 0 / 349.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1573, allocations: 0 / 349.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.1575, allocations: 0 / 349.2 MB, free: 14.4 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.007056/0.1646, allocations: 2.472 MB / 351.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1646, allocations: 11.89 kB / 351.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.1655, allocations: 230.2 kB / 351.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.1677, allocations: 1.17 MB / 353.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.1678, allocations: 152.5 kB / 353.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.1683, allocations: 204.1 kB / 353.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005161/0.1734, allocations: 2.618 MB / 356 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.1735, allocations: 0 / 356 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.1737, allocations: 84 kB / 356.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.1738, allocations: 52 kB / 356.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.1777, allocations: 2.089 MB / 358.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.1902, allocations: 7.412 MB / 365.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.1932, allocations: 2.354 MB / 368 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.1947, allocations: 0.9354 MB / 369 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.1948, allocations: 16.94 kB / 369 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.1948, allocations: 47.5 kB / 369 MB, free: 9.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.1949, allocations: 4 kB / 369 MB, free: 9.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007986/0.2028, allocations: 4.169 MB / 373.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.2029, allocations: 72.34 kB / 373.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.2041, allocations: 0.8602 MB / 374.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.2042, allocations: 41.7 kB / 374.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.2048, allocations: 0.8255 MB / 375 MB, free: 3.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.2051, allocations: 335.2 kB / 375.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.2054, allocations: 174.6 kB / 375.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2055, allocations: 341.9 kB / 375.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007389/0.2063, allocations: 0.4899 MB / 376.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.2071, allocations: 0.6772 MB / 377 MB, free: 1.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.2088, allocations: 1.193 MB / 378.2 MB, free: 460 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.2088, allocations: 4 kB / 378.2 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.1937/0.4026, allocations: 1.616 MB / 379.8 MB, free: 51.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4026, allocations: 6.875 kB / 379.8 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.4026, allocations: 5.5 kB / 379.8 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.4039, allocations: 471.1 kB / 380.3 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.4047, allocations: 178 kB / 380.5 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.415, allocations: 9.292 MB / 389.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4164, allocations: 47.61 kB / 389.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.4167, allocations: 38.91 kB / 389.8 MB, free: 44.48 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.002107/0.4189, allocations: 0.6355 MB / 390.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.4192, allocations: 107.6 kB / 390.6 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.4195, allocations: 135 kB / 390.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/0.4196, allocations: 11.97 kB / 390.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.4196, allocations: 2.531 kB / 390.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4196, allocations: 5.391 kB / 390.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008112/0.4277, allocations: 3.497 MB / 394.2 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.4278, allocations: 0 / 394.2 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.4284, allocations: 128 kB / 394.3 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009884/0.4294, allocations: 456.2 kB / 394.8 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/0.4295, allocations: 25.23 kB / 394.8 MB, free: 42.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007337/0.4368, allocations: 9.207 MB / 404 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4369, allocations: 1.25 kB / 404 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.4401, allocations: 2.306 MB / 406.3 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.4406, allocations: 278.2 kB / 406.6 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.4407, allocations: 23.75 kB / 406.6 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.4412, allocations: 39.8 kB / 406.7 MB, free: 33.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.4415, allocations: 87.77 kB / 406.8 MB, free: 33.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.4415, allocations: 32.11 kB / 406.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007986/0.4423, allocations: 0.6049 MB / 407.4 MB, free: 33.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4423, allocations: 0 / 407.4 MB, free: 33.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4439, allocations: 384.3 kB / 407.8 MB, free: 32.99 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.000298/0.4442, allocations: 149.2 kB / 407.9 MB, free: 32.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.4472, allocations: 2.091 MB / 410 MB, free: 31.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4472, allocations: 0 / 410 MB, free: 31.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.4486, allocations: 1.241 MB / 411.2 MB, free: 30.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4499, allocations: 308.5 kB / 411.5 MB, free: 29.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.4557, allocations: 3.643 MB / 415.2 MB, free: 26.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.457, allocations: 1.718 MB / 416.9 MB, free: 24.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005342/0.4575, allocations: 188.9 kB / 417.1 MB, free: 24.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4577, allocations: 63.44 kB / 417.2 MB, free: 24.34 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4577, allocations: 0 / 417.2 MB, free: 24.34 MB / 318.1 MB Notification: Performance of Templates: time 0.03284/0.4906, allocations: 20.71 MB / 437.9 MB, free: 3.633 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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