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.001549/0.001549, allocations: 105.9 kB / 18.25 MB, free: 4.785 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.001818/0.001818, allocations: 195.6 kB / 19.18 MB, free: 3.863 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.338/1.338, allocations: 205.1 MB / 225 MB, free: 12.3 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.001419/0.001419, allocations: 52.25 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08037/0.08181, allocations: 46.64 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007506/0.08935, allocations: 6.18 MB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.09298, allocations: 1.691 MB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.09408, allocations: 35.88 kB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.09522, allocations: 289.5 kB / 336.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.09695, allocations: 425.2 kB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.09786, allocations: 347.6 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.1002, allocations: 2.145 MB / 339 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.1029, allocations: 2.382 MB / 341.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.1043, allocations: 1.02 MB / 342.4 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.1058, allocations: 1.206 MB / 343.6 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004013/0.1062, allocations: 292 kB / 343.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.1069, allocations: 435.7 kB / 344.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.1075, allocations: 0.6935 MB / 345 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.1089, allocations: 1.237 MB / 346.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.112, allocations: 3.579 MB / 349.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.112, allocations: 3.984 kB / 349.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.112, allocations: 0 / 349.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.129e-05/0.1121, allocations: 0 / 349.9 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.004654/0.1167, allocations: 2.472 MB / 352.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.1168, allocations: 11.89 kB / 352.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.1172, allocations: 230.2 kB / 352.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.119, allocations: 1.17 MB / 353.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1191, allocations: 152.5 kB / 353.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.1194, allocations: 204.1 kB / 354.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/0.1234, allocations: 2.622 MB / 356.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.1234, allocations: 0 / 356.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.1236, allocations: 84 kB / 356.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.1237, allocations: 52 kB / 356.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.1271, allocations: 2.093 MB / 358.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.1376, allocations: 7.404 MB / 366.3 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.1399, allocations: 2.35 MB / 368.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.1413, allocations: 0.9393 MB / 369.6 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.1413, allocations: 20.88 kB / 369.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.1414, allocations: 51.5 kB / 369.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.516e-06/0.1414, allocations: 0 / 369.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007692/0.1491, allocations: 4.173 MB / 373.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1492, allocations: 68.34 kB / 373.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1502, allocations: 0.8602 MB / 374.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.1503, allocations: 41.7 kB / 374.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.1508, allocations: 0.8255 MB / 375.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.1511, allocations: 335.2 kB / 376 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.1513, allocations: 174.6 kB / 376.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1515, allocations: 345.9 kB / 376.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/0.1522, allocations: 0.4899 MB / 377 MB, free: 2.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.1531, allocations: 0.6694 MB / 377.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.1548, allocations: 1.197 MB / 378.9 MB, free: 452 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.1548, allocations: 4 kB / 378.9 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.1376/0.2924, allocations: 1.618 MB / 380.5 MB, free: 51.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.2924, allocations: 8.25 kB / 380.5 MB, free: 51.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.2925, allocations: 4.125 kB / 380.5 MB, free: 51.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.2938, allocations: 468.8 kB / 381 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.2946, allocations: 176.6 kB / 381.1 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007981/0.3026, allocations: 9.296 MB / 390.4 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.3034, allocations: 44.06 kB / 390.5 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.3035, allocations: 36.72 kB / 390.5 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.001087/0.3046, allocations: 0.6305 MB / 391.1 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3049, allocations: 110.2 kB / 391.2 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.3052, allocations: 134.8 kB / 391.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.3052, allocations: 11.56 kB / 391.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.3053, allocations: 2.219 kB / 391.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3053, allocations: 4.453 kB / 391.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005804/0.3111, allocations: 3.505 MB / 394.9 MB, free: 42.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3111, allocations: 1.25 kB / 394.9 MB, free: 42.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.3117, allocations: 123.8 kB / 395 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009312/0.3126, allocations: 464.9 kB / 395.5 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.3127, allocations: 21.42 kB / 395.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006627/0.3194, allocations: 9.199 MB / 404.7 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3194, allocations: 1.375 kB / 404.7 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.3224, allocations: 2.308 MB / 407 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.3229, allocations: 285.7 kB / 407.3 MB, free: 33.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.323, allocations: 27.47 kB / 407.3 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.3235, allocations: 43.45 kB / 407.3 MB, free: 33.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.3237, allocations: 79.72 kB / 407.4 MB, free: 33.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.3237, allocations: 31.09 kB / 407.5 MB, free: 33.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006709/0.3244, allocations: 0.6049 MB / 408.1 MB, free: 33.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3244, allocations: 0 / 408.1 MB, free: 33.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001442/0.3259, allocations: 387 kB / 408.4 MB, free: 33 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.0002735/0.3262, allocations: 135.7 kB / 408.6 MB, free: 32.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.3291, allocations: 2.093 MB / 410.7 MB, free: 31.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3291, allocations: 4.062 kB / 410.7 MB, free: 31.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.3305, allocations: 1.245 MB / 411.9 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.001313/0.3318, allocations: 304.5 kB / 412.2 MB, free: 29.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.3371, allocations: 3.633 MB / 415.8 MB, free: 26.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/0.3381, allocations: 1.683 MB / 417.5 MB, free: 24.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.3384, allocations: 71.42 kB / 417.6 MB, free: 24.55 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3384, allocations: 0 / 417.6 MB, free: 24.55 MB / 318.1 MB Notification: Performance of Templates: time 0.05218/0.3906, allocations: 58.48 MB / 476.1 MB, free: 13.98 MB / 366.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/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