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) 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 4.0.0+maint.om/package.mo", uses=false) 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=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001117/0.001117, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009791/0.0009791, allocations: 43.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2683, allocations: 49.44 MB / 400.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007443/0.2758, allocations: 6.225 MB / 406.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.2791, allocations: 1.647 MB / 408.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.2802, allocations: 43.81 kB / 408.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.2812, allocations: 305.6 kB / 408.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.2832, allocations: 429.2 kB / 409.4 MB, free: 364 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2842, allocations: 343.5 kB / 409.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.2866, allocations: 2.145 MB / 411.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002856/0.2895, allocations: 2.434 MB / 414.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.2908, allocations: 1.032 MB / 415.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.2921, allocations: 1.218 MB / 416.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.2925, allocations: 296 kB / 416.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.293, allocations: 431.7 kB / 417.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.2936, allocations: 0.6935 MB / 417.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.2947, allocations: 1.241 MB / 419.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.2976, allocations: 3.627 MB / 422.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2976, allocations: 0 / 422.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2976, allocations: 0 / 422.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.762e-05/0.2977, allocations: 0 / 422.8 MB, free: 2.82 MB / 334.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.003953/0.3017, allocations: 2.472 MB / 425.3 MB, free: 292 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3017, allocations: 15.89 kB / 425.3 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.3021, allocations: 226.2 kB / 425.5 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.304, allocations: 1.283 MB / 426.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.3041, allocations: 156.5 kB / 426.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.3044, allocations: 216 kB / 427.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.3083, allocations: 2.614 MB / 429.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.3084, allocations: 0 / 429.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.3085, allocations: 80 kB / 429.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.3086, allocations: 59.98 kB / 429.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.3119, allocations: 2.085 MB / 432 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.3223, allocations: 7.286 MB / 439.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.3245, allocations: 2.356 MB / 441.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3259, allocations: 0.9358 MB / 442.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.3259, allocations: 12.94 kB / 442.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.326, allocations: 43.56 kB / 442.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.196e-06/0.326, allocations: 3.938 kB / 442.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007072/0.333, allocations: 4.177 MB / 446.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3331, allocations: 64.34 kB / 446.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.3342, allocations: 0.864 MB / 447.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.3342, allocations: 41.7 kB / 447.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.3347, allocations: 0.8295 MB / 448.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.335, allocations: 327.2 kB / 448.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.3352, allocations: 182.5 kB / 449.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3353, allocations: 345.9 kB / 449.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.336, allocations: 493.7 kB / 449.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.3368, allocations: 0.6694 MB / 450.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.3383, allocations: 1.209 MB / 451.8 MB, free: 4.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3383, allocations: 0 / 451.8 MB, free: 4.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002341/0.3407, allocations: 1.632 MB / 453.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3407, allocations: 4 kB / 453.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3407, allocations: 8 kB / 453.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/0.3417, allocations: 470.9 kB / 453.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.3424, allocations: 171.7 kB / 454.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008066/0.3505, allocations: 9.289 MB / 463.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.3511, allocations: 51.89 kB / 463.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.3512, allocations: 36.06 kB / 463.4 MB, free: 8.625 MB / 382.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.0009652/0.3522, allocations: 0.6393 MB / 464.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.3524, allocations: 94.88 kB / 464.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.3527, allocations: 138 kB / 464.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/0.3527, allocations: 8 kB / 464.3 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.3527, allocations: 4 kB / 464.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3527, allocations: 7.922 kB / 464.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.3582, allocations: 3.481 MB / 467.8 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3582, allocations: 4 kB / 467.8 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.3587, allocations: 127.9 kB / 467.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009297/0.3597, allocations: 450.9 kB / 468.4 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.3597, allocations: 24 kB / 468.4 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007905/0.3677, allocations: 9.206 MB / 477.6 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3677, allocations: 0 / 477.6 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.371, allocations: 2.316 MB / 479.9 MB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.3716, allocations: 272 kB / 480.2 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.3718, allocations: 27.97 kB / 480.2 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.3723, allocations: 43.95 kB / 480.3 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.3725, allocations: 88.81 kB / 480.3 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.3726, allocations: 24 kB / 480.4 MB, free: 6.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008606/0.3735, allocations: 0.6083 MB / 481 MB, free: 6.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3735, allocations: 0 / 481 MB, free: 6.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001491/0.375, allocations: 384 kB / 481.3 MB, free: 5.992 MB / 398.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.0002896/0.3753, allocations: 147 kB / 481.5 MB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.3781, allocations: 1.819 MB / 483.3 MB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3781, allocations: 4 kB / 483.3 MB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.38, allocations: 1.247 MB / 484.6 MB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3817, allocations: 299.1 kB / 484.9 MB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/0.3885, allocations: 3.582 MB / 488.4 MB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.3903, allocations: 1.714 MB / 490.1 MB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005577/0.3908, allocations: 192.9 kB / 490.3 MB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.3911, allocations: 67.42 kB / 490.4 MB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3911, allocations: 3.938 kB / 490.4 MB, free: 12.75 MB / 414.1 MB Notification: Performance of Templates: time 0.03419/0.4253, allocations: 21.05 MB / 0.4995 GB, free: 7.93 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches