Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 197.1 kB / 17.05 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 226.6 MB / 244.3 MB, free: 8.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007372/0.0007371, allocations: 96.95 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002059/0.0002059, allocations: 8 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2043, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.002647/0.207, allocations: 3.214 MB / 410.7 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2083, allocations: 0.9228 MB / 411.7 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2085, allocations: 7.938 kB / 411.7 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2086, allocations: 59.53 kB / 411.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.2089, allocations: 117.9 kB / 411.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.2091, allocations: 117.6 kB / 411.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.2095, allocations: 0.5524 MB / 412.5 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.2097, allocations: 161.7 kB / 412.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.21, allocations: 187.2 kB / 412.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2102, allocations: 207 kB / 413 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2103, allocations: 27.94 kB / 413.1 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.2103, allocations: 28 kB / 413.1 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.2104, allocations: 83.61 kB / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.2105, allocations: 117.5 kB / 413.3 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.2108, allocations: 478.6 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2108, allocations: 4 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2108, allocations: 0 / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.2108, allocations: 0 / 413.8 MB, free: 21.55 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.0009307/0.2117, allocations: 0.7064 MB / 414.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2118, allocations: 8.031 kB / 414.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.212, allocations: 71.33 kB / 414.5 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2123, allocations: 351.8 kB / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2123, allocations: 33 kB / 414.9 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.2124, allocations: 47.98 kB / 415 MB, free: 20.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.213, allocations: 457.5 kB / 415.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.213, allocations: 8 kB / 415.4 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.2131, allocations: 16 kB / 415.4 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2131, allocations: 8 kB / 415.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.2136, allocations: 323.8 kB / 415.8 MB, free: 19.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2154, allocations: 1.887 MB / 417.7 MB, free: 17.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.216, allocations: 0.6122 MB / 418.3 MB, free: 16.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.2164, allocations: 280.6 kB / 418.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2165, allocations: 8.312 kB / 418.5 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.2169, allocations: 281.1 kB / 418.8 MB, free: 16.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.2169, allocations: 4 kB / 418.8 MB, free: 16.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001934/0.2188, allocations: 0.8344 MB / 419.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2189, allocations: 85.11 kB / 419.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.2191, allocations: 320.5 kB / 420.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2191, allocations: 37.7 kB / 420.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.2192, allocations: 216.3 kB / 420.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.2193, allocations: 137.9 kB / 420.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.2193, allocations: 16 kB / 420.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.2194, allocations: 346.8 kB / 420.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2196, allocations: 117.1 kB / 420.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.2198, allocations: 253 kB / 421.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.22, allocations: 144 kB / 421.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.22, allocations: 4 kB / 421.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006687/0.2207, allocations: 0.5129 MB / 421.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2207, allocations: 12.03 kB / 421.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2208, allocations: 4 kB / 421.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/0.2212, allocations: 147.7 kB / 422 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2214, allocations: 67.84 kB / 422 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.2233, allocations: 2.304 MB / 424.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.2235, allocations: 47.66 kB / 424.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2236, allocations: 16 kB / 424.4 MB, free: 10.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.2237, allocations: 181.7 kB / 424.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2238, allocations: 39.53 kB / 424.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.2238, allocations: 44.41 kB / 424.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2239, allocations: 4 kB / 424.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2239, allocations: 8.078 kB / 424.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2239, allocations: 7.922 kB / 424.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.225, allocations: 1.039 MB / 425.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.225, allocations: 0 / 425.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2252, allocations: 35.92 kB / 425.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/0.2255, allocations: 143.3 kB / 425.9 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2255, allocations: 12 kB / 425.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.2273, allocations: 2.3 MB / 428.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2273, allocations: 3.953 kB / 428.2 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.2281, allocations: 0.7121 MB / 428.9 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2282, allocations: 152.5 kB / 429.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.2283, allocations: 15.95 kB / 429.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.2285, allocations: 15.98 kB / 429.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.2286, allocations: 39.67 kB / 429.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2286, allocations: 15.98 kB / 429.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.2288, allocations: 223.1 kB / 429.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2288, allocations: 4 kB / 429.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.2292, allocations: 147.7 kB / 429.5 MB, free: 4.965 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001147/0.2294, allocations: 115.8 kB / 429.6 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.2301, allocations: 0.5372 MB / 430.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2301, allocations: 0 / 430.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.2305, allocations: 375.8 kB / 430.5 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.2309, allocations: 79.02 kB / 430.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2322, allocations: 1.084 MB / 431.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2324, allocations: 0.8321 MB / 432.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.2324, allocations: 31.42 kB / 432.6 MB, free: 1.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2324, allocations: 0 / 432.6 MB, free: 1.82 MB / 298.7 MB Notification: Performance of Templates: time 0.007627/0.2401, allocations: 7.054 MB / 439.6 MB, free: 10.81 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches