Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001569, allocations: 109.5 kB / 17.06 MB, free: 6.023 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.002465/0.002465, allocations: 191 kB / 18 MB, free: 5.105 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 43.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2414, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004366/0.2458, allocations: 3.714 MB / 404.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2471, allocations: 0.9128 MB / 405.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.2473, allocations: 7.938 kB / 405.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.2475, allocations: 79.22 kB / 405.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.2478, allocations: 146.8 kB / 405.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.2481, allocations: 167.7 kB / 405.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.2486, allocations: 0.607 MB / 406.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.249, allocations: 212.1 kB / 406.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2492, allocations: 231.2 kB / 406.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2495, allocations: 246.9 kB / 407 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.2495, allocations: 56 kB / 407.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.2496, allocations: 56 kB / 407.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2497, allocations: 119.5 kB / 407.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.25, allocations: 270.7 kB / 407.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.2505, allocations: 0.6422 MB / 408.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2505, allocations: 0 / 408.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2505, allocations: 0 / 408.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2505, allocations: 0 / 408.2 MB, free: 1.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001206/0.2517, allocations: 0.7768 MB / 408.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2518, allocations: 8.031 kB / 409 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2519, allocations: 60.28 kB / 409 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.2523, allocations: 372.1 kB / 409.4 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.2523, allocations: 33.38 kB / 409.4 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.2524, allocations: 44.38 kB / 409.5 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.2531, allocations: 465.5 kB / 409.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2532, allocations: 0 / 409.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.2532, allocations: 23.94 kB / 409.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2532, allocations: 12 kB / 409.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.2538, allocations: 319.7 kB / 410.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.256, allocations: 1.836 MB / 412.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.2567, allocations: 0.6013 MB / 412.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.2573, allocations: 277.3 kB / 413 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.2573, allocations: 4.328 kB / 413 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.2577, allocations: 281.1 kB / 413.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.2577, allocations: 0 / 413.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002197/0.2599, allocations: 0.8422 MB / 414.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.26, allocations: 85.05 kB / 414.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.2603, allocations: 308.6 kB / 414.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.2603, allocations: 37.7 kB / 414.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2605, allocations: 220.3 kB / 414.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.2606, allocations: 138.1 kB / 414.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2607, allocations: 82.17 kB / 414.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2608, allocations: 350.7 kB / 415.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.2611, allocations: 121.1 kB / 415.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.2614, allocations: 249 kB / 415.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.2619, allocations: 383.1 kB / 416 MB, free: 9.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2619, allocations: 0 / 416 MB, free: 9.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008079/0.2627, allocations: 0.5013 MB / 416.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2627, allocations: 8.469 kB / 416.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2627, allocations: 8 kB / 416.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.2632, allocations: 151.2 kB / 416.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2635, allocations: 67.78 kB / 416.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.2662, allocations: 2.545 MB / 419.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.2665, allocations: 39.62 kB / 419.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.2665, allocations: 20 kB / 419.4 MB, free: 5.586 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.2667, allocations: 186.5 kB / 419.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.2668, allocations: 43.53 kB / 419.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.2669, allocations: 48.23 kB / 419.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2669, allocations: 4 kB / 419.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.2669, allocations: 0 / 419.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2669, allocations: 3.984 kB / 419.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2685, allocations: 1.02 MB / 420.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2685, allocations: 0 / 420.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2687, allocations: 39.92 kB / 420.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.269, allocations: 140.7 kB / 420.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.2691, allocations: 11.98 kB / 420.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.272, allocations: 2.544 MB / 423.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.272, allocations: 4 kB / 423.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2731, allocations: 0.7131 MB / 424.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.2733, allocations: 160.5 kB / 424.3 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.2734, allocations: 8 kB / 424.3 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.2736, allocations: 12 kB / 424.3 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2738, allocations: 39.94 kB / 424.3 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2738, allocations: 8 kB / 424.3 MB, free: 368 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.2741, allocations: 227.1 kB / 424.5 MB, free: 140 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.2741, allocations: 0 / 424.5 MB, free: 140 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.2747, allocations: 147.8 kB / 424.7 MB, free: 15.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.2749, allocations: 111.9 kB / 424.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.276, allocations: 0.5484 MB / 425.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.276, allocations: 0 / 425.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.2765, allocations: 375.3 kB / 425.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.277, allocations: 88.86 kB / 425.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2789, allocations: 0.8653 MB / 426.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.2795, allocations: 0.824 MB / 427.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.2796, allocations: 43.3 kB / 427.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.2797, allocations: 27.44 kB / 427.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2797, allocations: 0 / 427.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01238/0.2921, allocations: 6.995 MB / 434.6 MB, free: 6.176 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches