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.001608/0.001608, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001903/0.001903, allocations: 192 kB / 18.63 MB, free: 4.375 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.386/1.386, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009638, allocations: 46.64 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09391, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006976/0.1009, allocations: 6.219 MB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1041, allocations: 1.643 MB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.1047, allocations: 47.81 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.1052, allocations: 289.6 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1063, allocations: 429.2 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.1069, allocations: 347.5 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.1087, allocations: 2.129 MB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.1111, allocations: 2.438 MB / 365 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1121, allocations: 1.032 MB / 366.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.1135, allocations: 1.218 MB / 367.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.1138, allocations: 292 kB / 367.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005815/0.1144, allocations: 427.7 kB / 368 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005855/0.115, allocations: 0.7052 MB / 368.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.1162, allocations: 1.237 MB / 369.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1653/0.2815, allocations: 3.618 MB / 373.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2815, allocations: 0 / 373.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2815, allocations: 0 / 373.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.2817, allocations: 0 / 373.5 MB, free: 16.65 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.005908/0.2876, allocations: 2.472 MB / 376 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2876, allocations: 14.64 kB / 376 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.2881, allocations: 229.8 kB / 376.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2904, allocations: 1.28 MB / 377.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/0.2905, allocations: 159.1 kB / 377.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.2908, allocations: 201.3 kB / 377.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/0.2949, allocations: 2.624 MB / 380.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.2949, allocations: 0.9375 kB / 380.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.2951, allocations: 82 kB / 380.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.2952, allocations: 55 kB / 380.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.2984, allocations: 2.085 MB / 382.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009673/0.3081, allocations: 7.294 MB / 390 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3098, allocations: 2.345 MB / 392.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.3111, allocations: 0.9306 MB / 393.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.3111, allocations: 10.44 kB / 393.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3112, allocations: 51.58 kB / 393.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/0.3112, allocations: 0 / 393.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.006719/0.3179, allocations: 4.177 MB / 397.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.3179, allocations: 60.16 kB / 397.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/0.3189, allocations: 0.8685 MB / 398.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.3189, allocations: 41.39 kB / 398.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.3193, allocations: 0.8274 MB / 399.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.3194, allocations: 327.4 kB / 399.6 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.3197, allocations: 183.4 kB / 399.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.3198, allocations: 343.3 kB / 400.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.3204, allocations: 495.2 kB / 400.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.3211, allocations: 0.6745 MB / 401.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3224, allocations: 1.203 MB / 402.5 MB, free: 444 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3224, allocations: 1.312 kB / 402.5 MB, free: 444 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002443/0.3249, allocations: 1.626 MB / 404.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3249, allocations: 10.8 kB / 404.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.325, allocations: 8 kB / 404.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.3261, allocations: 462.9 kB / 404.6 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.3267, allocations: 174.7 kB / 404.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008952/0.3357, allocations: 9.279 MB / 414.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.3366, allocations: 48.05 kB / 414.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/0.3367, allocations: 40 kB / 414.2 MB, free: 4.324 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.001139/0.3378, allocations: 0.6448 MB / 414.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.338, allocations: 106.8 kB / 414.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.3383, allocations: 138 kB / 415 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.3383, allocations: 8 kB / 415 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.3384, allocations: 4 kB / 415 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.3384, allocations: 7.969 kB / 415.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005909/0.3443, allocations: 3.48 MB / 418.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3443, allocations: 0 / 418.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.3449, allocations: 133.2 kB / 418.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.3458, allocations: 444.3 kB / 419.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.3459, allocations: 27.98 kB / 419.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008423/0.3543, allocations: 9.194 MB / 428.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3544, allocations: 2.625 kB / 428.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.3577, allocations: 2.313 MB / 430.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.3584, allocations: 279.8 kB / 430.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.3585, allocations: 22.62 kB / 430.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.3589, allocations: 44.08 kB / 431 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.3592, allocations: 92.81 kB / 431.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.3592, allocations: 23.98 kB / 431.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008505/0.3601, allocations: 0.6083 MB / 431.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3601, allocations: 0 / 431.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001633/0.3617, allocations: 380 kB / 432.1 MB, free: 1.828 MB / 334.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.00028/0.362, allocations: 150.7 kB / 432.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003014/0.3651, allocations: 1.822 MB / 434 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3651, allocations: 0 / 434 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.3667, allocations: 1.248 MB / 435.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.3681, allocations: 294.4 kB / 435.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.3736, allocations: 3.589 MB / 439.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.375, allocations: 1.711 MB / 440.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000526/0.3755, allocations: 192.9 kB / 441.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.3757, allocations: 67.42 kB / 441.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3757, allocations: 0 / 441.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of Templates: time 0.03394/0.4096, allocations: 20.72 MB / 461.9 MB, free: 4.227 MB / 366.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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