Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.0009272, allocations: 97.53 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007289/0.000729, allocations: 43.94 kB / 327.2 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1781, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00439/0.1825, allocations: 4.688 MB / 378.5 MB, free: 42.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1841, allocations: 1.323 MB / 379.8 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.1843, allocations: 26.16 kB / 379.9 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.1848, allocations: 176.5 kB / 380 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.1853, allocations: 322.6 kB / 380.4 MB, free: 40.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1856, allocations: 186.8 kB / 380.5 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.1867, allocations: 1.79 MB / 382.3 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007082/0.1875, allocations: 0.7596 MB / 383.1 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.1879, allocations: 0.5242 MB / 383.6 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.1885, allocations: 0.7224 MB / 384.3 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1887, allocations: 91.25 kB / 384.4 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1888, allocations: 91.34 kB / 384.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1891, allocations: 361.8 kB / 384.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.1895, allocations: 0.6384 MB / 385.5 MB, free: 37.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.1905, allocations: 1.982 MB / 387.5 MB, free: 35.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1905, allocations: 0 / 387.5 MB, free: 35.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1905, allocations: 0 / 387.5 MB, free: 35.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1905, allocations: 0 / 387.5 MB, free: 35.81 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002077/0.1926, allocations: 1.623 MB / 389.1 MB, free: 34.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.1927, allocations: 8.031 kB / 389.1 MB, free: 34.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1928, allocations: 139.2 kB / 389.3 MB, free: 33.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.1938, allocations: 0.8645 MB / 390.1 MB, free: 33.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1938, allocations: 78.38 kB / 390.2 MB, free: 33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.194, allocations: 100.1 kB / 390.3 MB, free: 32.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1955, allocations: 1.427 MB / 391.7 MB, free: 31.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1955, allocations: 11.94 kB / 391.7 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.1956, allocations: 40 kB / 391.8 MB, free: 31.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.1956, allocations: 41.98 kB / 391.8 MB, free: 31.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.1972, allocations: 1.28 MB / 393.1 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.2014, allocations: 4.328 MB / 397.4 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.2027, allocations: 1.965 MB / 399.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.2034, allocations: 0.6298 MB / 400 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.2034, allocations: 12.59 kB / 400 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.2041, allocations: 0.5937 MB / 400.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.884e-06/0.2041, allocations: 0 / 400.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.005797/0.2099, allocations: 2.839 MB / 403.5 MB, free: 19.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.21, allocations: 111.5 kB / 403.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.2106, allocations: 0.8246 MB / 404.4 MB, free: 18.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.2107, allocations: 37.7 kB / 404.4 MB, free: 18.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2109, allocations: 491.8 kB / 404.9 MB, free: 17.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.211, allocations: 240.5 kB / 405.1 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.2112, allocations: 138.6 kB / 405.3 MB, free: 17.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.2113, allocations: 394.8 kB / 405.7 MB, free: 17.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.2118, allocations: 389.7 kB / 406 MB, free: 16.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.2123, allocations: 0.5532 MB / 406.6 MB, free: 16.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/0.2132, allocations: 0.9192 MB / 407.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2132, allocations: 4 kB / 407.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001567/0.2148, allocations: 1.319 MB / 408.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2148, allocations: 4 kB / 408.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2148, allocations: 7.984 kB / 408.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009137/0.2157, allocations: 472.2 kB / 409.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.2161, allocations: 91.83 kB / 409.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.2209, allocations: 5.121 MB / 414.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.2215, allocations: 79.45 kB / 414.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.2215, allocations: 28.11 kB / 414.6 MB, free: 7.836 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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0004892/0.222, allocations: 475.2 kB / 415.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.2221, allocations: 94.91 kB / 415.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.2223, allocations: 108.6 kB / 415.3 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2223, allocations: 8 kB / 415.3 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2223, allocations: 0 / 415.3 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2223, allocations: 3.984 kB / 415.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.2253, allocations: 2.611 MB / 417.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2253, allocations: 0 / 417.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.2255, allocations: 71.84 kB / 418 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007467/0.2263, allocations: 460.3 kB / 418.4 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.2263, allocations: 15.98 kB / 418.5 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.2312, allocations: 5.076 MB / 423.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2312, allocations: 0 / 423.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.2462, allocations: 11.93 MB / 435.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.2466, allocations: 275.8 kB / 435.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.2467, allocations: 16.25 kB / 435.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.2471, allocations: 43.95 kB / 435.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.2473, allocations: 80.53 kB / 435.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.2474, allocations: 16 kB / 435.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006376/0.248, allocations: 0.5927 MB / 436.5 MB, free: 1.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.248, allocations: 0 / 436.5 MB, free: 1.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001112/0.2491, allocations: 447.1 kB / 436.9 MB, free: 1.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.2493, allocations: 131 kB / 437 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.2512, allocations: 1.271 MB / 438.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2512, allocations: 0 / 438.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2523, allocations: 0.82 MB / 439.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.2533, allocations: 267.2 kB / 439.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.2576, allocations: 3.594 MB / 443 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008368/0.2584, allocations: 1.353 MB / 444.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.2588, allocations: 143.3 kB / 444.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2589, allocations: 51.42 kB / 444.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2589, allocations: 0 / 444.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of Templates: time 0.0279/0.2868, allocations: 21.74 MB / 466.3 MB, free: 3.527 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches