Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008808/0.0008807, allocations: 178.5 kB / 16.71 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007566/0.0007569, allocations: 97.77 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002311, allocations: 8 kB / 354.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.002644/0.195, allocations: 3.194 MB / 407.8 MB, free: 28.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.1961, allocations: 0.8713 MB / 408.7 MB, free: 27.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1962, allocations: 12.69 kB / 408.7 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1964, allocations: 59.53 kB / 408.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1967, allocations: 118 kB / 408.8 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1969, allocations: 136.9 kB / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.1973, allocations: 0.579 MB / 409.6 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1975, allocations: 183.1 kB / 409.7 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1977, allocations: 187.2 kB / 409.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1979, allocations: 210.9 kB / 410.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.198, allocations: 24 kB / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.198, allocations: 24 kB / 410.2 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1981, allocations: 87.55 kB / 410.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1983, allocations: 260.4 kB / 410.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1986, allocations: 0.568 MB / 411.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1986, allocations: 8 kB / 411.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1986, allocations: 1.344 kB / 411.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1986, allocations: 0 / 411.1 MB, free: 24.79 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.0008722/0.1995, allocations: 0.6922 MB / 411.8 MB, free: 24.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1995, allocations: 12.03 kB / 411.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.1996, allocations: 56.28 kB / 411.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1999, allocations: 352.2 kB / 412.2 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2, allocations: 45.25 kB / 412.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.2, allocations: 52.27 kB / 412.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.2006, allocations: 453.5 kB / 412.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2006, allocations: 4 kB / 412.7 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.2007, allocations: 16 kB / 412.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2007, allocations: 15.94 kB / 412.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.2012, allocations: 323.8 kB / 413.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2029, allocations: 1.871 MB / 414.9 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.2035, allocations: 0.615 MB / 415.6 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.204, allocations: 270.7 kB / 415.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.204, allocations: 4.328 kB / 415.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.2044, allocations: 281.1 kB / 416.1 MB, free: 19.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.2044, allocations: 0 / 416.1 MB, free: 19.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001953/0.2064, allocations: 0.8462 MB / 417 MB, free: 18.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2065, allocations: 85.11 kB / 417 MB, free: 18.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.2067, allocations: 308.5 kB / 417.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2067, allocations: 37.7 kB / 417.4 MB, free: 18.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.2068, allocations: 216.3 kB / 417.6 MB, free: 17.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.2069, allocations: 138.1 kB / 417.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.2069, allocations: 16 kB / 417.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.207, allocations: 342.8 kB / 418.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.2072, allocations: 125.1 kB / 418.2 MB, free: 17.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.2074, allocations: 249 kB / 418.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.2078, allocations: 382.6 kB / 418.8 MB, free: 16.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2078, allocations: 0 / 418.8 MB, free: 16.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006668/0.2085, allocations: 0.5089 MB / 419.3 MB, free: 16.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2085, allocations: 12.41 kB / 419.3 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2086, allocations: 11.94 kB / 419.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.209, allocations: 152.6 kB / 419.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2092, allocations: 67.84 kB / 419.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.2112, allocations: 2.311 MB / 421.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.2114, allocations: 47.62 kB / 421.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2114, allocations: 16 kB / 421.9 MB, free: 13.32 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.0001865/0.2116, allocations: 178 kB / 422.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.2117, allocations: 35.53 kB / 422.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.2118, allocations: 48.3 kB / 422.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2118, allocations: 7.938 kB / 422.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2118, allocations: 7.984 kB / 422.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2118, allocations: 0 / 422.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.2129, allocations: 1.02 MB / 423.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2129, allocations: 4 kB / 423.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.2131, allocations: 35.97 kB / 423.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.2135, allocations: 148.7 kB / 423.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.2135, allocations: 8 kB / 423.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.2154, allocations: 2.305 MB / 425.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2154, allocations: 0 / 425.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.2163, allocations: 0.7161 MB / 426.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2164, allocations: 164.5 kB / 426.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.2165, allocations: 4 kB / 426.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2167, allocations: 19.98 kB / 426.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.2168, allocations: 35.89 kB / 426.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.2168, allocations: 19.98 kB / 426.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.217, allocations: 211.1 kB / 426.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.217, allocations: 0 / 426.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000514/0.2175, allocations: 147.7 kB / 427 MB, free: 7.961 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.0001226/0.2177, allocations: 132.6 kB / 427.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.2185, allocations: 0.5407 MB / 427.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2185, allocations: 3.938 kB / 427.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.2189, allocations: 371.2 kB / 428.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.2194, allocations: 73 kB / 428.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2208, allocations: 1.074 MB / 429.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.221, allocations: 0.8243 MB / 430 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.2212, allocations: 39.3 kB / 430.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.2213, allocations: 27.44 kB / 430.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2213, allocations: 0 / 430.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of Templates: time 0.01093/0.2322, allocations: 6.324 MB / 436.4 MB, free: 14.51 MB / 314.7 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","../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