Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 194.2 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007024/0.0007025, allocations: 90.31 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002906, allocations: 4 kB / 360.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003619/0.2549, allocations: 3.225 MB / 415.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2567, allocations: 1.144 MB / 416.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.257, allocations: 15.88 kB / 416.5 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.2573, allocations: 59.53 kB / 416.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.2577, allocations: 127 kB / 416.6 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2581, allocations: 139.8 kB / 416.8 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.2587, allocations: 0.5836 MB / 417.4 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.259, allocations: 183.2 kB / 417.5 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.2593, allocations: 195.1 kB / 417.7 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.2596, allocations: 214.9 kB / 417.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.2596, allocations: 24 kB / 418 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2597, allocations: 28 kB / 418 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.2598, allocations: 83.55 kB / 418.1 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.2601, allocations: 264.4 kB / 418.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.2606, allocations: 0.5876 MB / 418.9 MB, free: 18.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2606, allocations: 0 / 418.9 MB, free: 18.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2606, allocations: 0 / 418.9 MB, free: 18.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.2606, allocations: 0 / 418.9 MB, free: 18.95 MB / 298.7 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.001235/0.2619, allocations: 0.7105 MB / 419.6 MB, free: 18.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2619, allocations: 12.03 kB / 419.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.2622, allocations: 68.27 kB / 419.7 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.2627, allocations: 368.7 kB / 420.1 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2627, allocations: 37.38 kB / 420.1 MB, free: 17.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.2628, allocations: 52.27 kB / 420.2 MB, free: 17.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.2637, allocations: 457.5 kB / 420.6 MB, free: 17.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2637, allocations: 3.938 kB / 420.6 MB, free: 17.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.2638, allocations: 24 kB / 420.6 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2638, allocations: 16 kB / 420.6 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.2646, allocations: 315.8 kB / 421 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.2673, allocations: 1.883 MB / 422.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.2681, allocations: 0.611 MB / 423.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006665/0.2688, allocations: 269.4 kB / 423.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.2689, allocations: 8.328 kB / 423.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005396/0.2694, allocations: 269.1 kB / 424 MB, free: 13.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.2694, allocations: 0 / 424 MB, free: 13.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002982/0.2724, allocations: 0.8549 MB / 424.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2725, allocations: 85.11 kB / 424.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.2729, allocations: 320.5 kB / 425.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.2729, allocations: 33.7 kB / 425.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.2731, allocations: 228.2 kB / 425.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.581e-05/0.2732, allocations: 138.1 kB / 425.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.2732, allocations: 12 kB / 425.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.2733, allocations: 350.7 kB / 426 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.2736, allocations: 117.1 kB / 426.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.274, allocations: 257 kB / 426.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.2746, allocations: 378.8 kB / 426.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2746, allocations: 0 / 426.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001071/0.2757, allocations: 0.5209 MB / 427.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2758, allocations: 17.22 kB / 427.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2758, allocations: 4 kB / 427.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.2764, allocations: 144.7 kB / 427.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2767, allocations: 63.91 kB / 427.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/0.2797, allocations: 2.306 MB / 429.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2801, allocations: 43.62 kB / 429.8 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.2802, allocations: 24.03 kB / 429.8 MB, free: 7.406 MB / 298.7 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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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.0002763/0.2805, allocations: 173.8 kB / 430 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.2806, allocations: 39.53 kB / 430 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.995e-05/0.2807, allocations: 48.41 kB / 430.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2807, allocations: 7.938 kB / 430.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2807, allocations: 0 / 430.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2807, allocations: 3.984 kB / 430.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.2825, allocations: 1.039 MB / 431.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2825, allocations: 0 / 431.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2828, allocations: 35.97 kB / 431.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003484/0.2831, allocations: 148.9 kB / 431.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2832, allocations: 12 kB / 431.3 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.2851, allocations: 2.308 MB / 433.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2851, allocations: 4 kB / 433.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.286, allocations: 0.7204 MB / 434.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.2861, allocations: 152.5 kB / 434.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.2861, allocations: 12 kB / 434.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.2863, allocations: 15.98 kB / 434.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.2864, allocations: 39.67 kB / 434.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2865, allocations: 15.98 kB / 434.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.2866, allocations: 223.1 kB / 434.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2866, allocations: 4 kB / 434.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.2872, allocations: 143.7 kB / 435 MB, free: 2.027 MB / 298.7 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.0001279/0.2873, allocations: 123.2 kB / 435.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.288, allocations: 0.537 MB / 435.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2881, allocations: 0 / 435.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.2885, allocations: 375.3 kB / 436 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2889, allocations: 83.62 kB / 436.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2902, allocations: 1.08 MB / 437.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.2906, allocations: 0.8355 MB / 438 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.2908, allocations: 43.33 kB / 438 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.2908, allocations: 31.44 kB / 438 MB, free: 14.84 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2908, allocations: 3.938 kB / 438 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Templates: time 0.01035/0.3012, allocations: 6.39 MB / 444.4 MB, free: 8.488 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches