Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001049/0.001049, allocations: 109.3 kB / 18.4 MB, free: 4.68 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.000969/0.000969, allocations: 183.1 kB / 19.33 MB, free: 3.758 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.24/1.24, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001297/0.001297, allocations: 47.94 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07842/0.07972, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004488/0.08425, allocations: 3.659 MB / 379.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1706/0.2549, allocations: 0.9531 MB / 380.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005652/0.2555, allocations: 10.16 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.256, allocations: 76.12 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006384/0.2567, allocations: 143 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.2573, allocations: 164.9 kB / 380.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000981/0.2583, allocations: 0.6048 MB / 381.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.2588, allocations: 215 kB / 381.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000459/0.2592, allocations: 229.7 kB / 381.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.2597, allocations: 244.4 kB / 382.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.2599, allocations: 55 kB / 382.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.2601, allocations: 54.22 kB / 382.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2602, allocations: 118 kB / 382.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.2607, allocations: 265.6 kB / 382.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009148/0.2616, allocations: 0.6296 MB / 383.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2616, allocations: 0.5 kB / 383.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2616, allocations: 0 / 383.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.2617, allocations: 0.5625 kB / 383.2 MB, free: 9.363 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001985/0.2636, allocations: 0.7744 MB / 384 MB, free: 8.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2637, allocations: 9.531 kB / 384 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.2639, allocations: 55.92 kB / 384.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.2644, allocations: 360.4 kB / 384.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2644, allocations: 30.47 kB / 384.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.2645, allocations: 43.2 kB / 384.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.2654, allocations: 459.9 kB / 384.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2654, allocations: 5.219 kB / 384.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2654, allocations: 16.36 kB / 385 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2655, allocations: 10.38 kB / 385 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.2661, allocations: 319.2 kB / 385.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.2685, allocations: 1.821 MB / 387.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.2692, allocations: 0.6093 MB / 387.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.2698, allocations: 276.5 kB / 388 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2698, allocations: 8.391 kB / 388 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.2703, allocations: 267.6 kB / 388.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.2703, allocations: 0.9062 kB / 388.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002235/0.2725, allocations: 0.8354 MB / 389.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.2726, allocations: 95.55 kB / 389.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.2729, allocations: 309.7 kB / 389.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.2729, allocations: 41.91 kB / 389.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2731, allocations: 215 kB / 389.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.2732, allocations: 132.5 kB / 389.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2733, allocations: 87.64 kB / 389.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.2734, allocations: 350.1 kB / 390.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2736, allocations: 123.2 kB / 390.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.2739, allocations: 251.2 kB / 390.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.2744, allocations: 381.3 kB / 391 MB, free: 4.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2744, allocations: 1.969 kB / 391 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008008/0.2752, allocations: 0.5051 MB / 391.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.2752, allocations: 7.047 kB / 391.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2752, allocations: 4.031 kB / 391.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.2757, allocations: 149.8 kB / 391.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2759, allocations: 59.27 kB / 391.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.2783, allocations: 2.555 MB / 394.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.2786, allocations: 41.16 kB / 394.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.2786, allocations: 18.28 kB / 394.4 MB, free: 2.059 MB / 318.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002128/0.2788, allocations: 180.3 kB / 394.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.2789, allocations: 42.72 kB / 394.6 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.279, allocations: 47.5 kB / 394.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.279, allocations: 3.906 kB / 394.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.279, allocations: 5.094 kB / 394.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.279, allocations: 1.969 kB / 394.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.2803, allocations: 1.021 MB / 395.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2803, allocations: 7.969 kB / 395.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2805, allocations: 34.41 kB / 395.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003508/0.2808, allocations: 141.5 kB / 395.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2809, allocations: 16.75 kB / 395.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.2833, allocations: 2.532 MB / 398.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2834, allocations: 0.9688 kB / 398.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2845, allocations: 0.7187 MB / 399.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.2847, allocations: 151.2 kB / 399.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.2847, allocations: 7.172 kB / 399.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2849, allocations: 21.25 kB / 399.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2851, allocations: 36.48 kB / 399.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2851, allocations: 14.39 kB / 399.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.2854, allocations: 217.9 kB / 399.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2854, allocations: 0 / 399.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000609/0.286, allocations: 143.4 kB / 399.7 MB, free: 14.38 MB / 334.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001475/0.2861, allocations: 120.4 kB / 399.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009551/0.2871, allocations: 0.5317 MB / 400.3 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2871, allocations: 5.531 kB / 400.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.2877, allocations: 386.8 kB / 400.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.2882, allocations: 83.8 kB / 400.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2897, allocations: 0.8746 MB / 401.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.2901, allocations: 0.8267 MB / 402.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.2902, allocations: 32.7 kB / 402.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2902, allocations: 0 / 402.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Templates: time 0.01177/0.302, allocations: 6.966 MB / 409.5 MB, free: 9.773 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches