Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001441/0.001441, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007021/0.0007021, allocations: 78.42 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003952, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004096/0.2089, allocations: 4.05 MB / 379.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2112, allocations: 1.28 MB / 380.4 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.2118, allocations: 20.31 kB / 380.5 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.2125, allocations: 156.2 kB / 380.6 MB, free: 41.09 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0009269/0.2135, allocations: 318.8 kB / 380.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.2139, allocations: 130 kB / 381 MB, free: 40.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2156, allocations: 1.6 MB / 382.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2167, allocations: 0.7558 MB / 383.4 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.2176, allocations: 474.2 kB / 383.9 MB, free: 39.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2187, allocations: 0.6182 MB / 384.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.2189, allocations: 70.84 kB / 384.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.2195, allocations: 65.69 kB / 384.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.2199, allocations: 317.9 kB / 384.9 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.2209, allocations: 0.5989 MB / 385.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2222, allocations: 1.644 MB / 387.2 MB, free: 36.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2222, allocations: 7.938 kB / 387.2 MB, free: 36.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2222, allocations: 4 kB / 387.2 MB, free: 36.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-05/0.2223, allocations: 0 / 387.2 MB, free: 36.58 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.00246/0.2248, allocations: 1.401 MB / 388.6 MB, free: 35.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2248, allocations: 12.03 kB / 388.6 MB, free: 35.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.2251, allocations: 135.3 kB / 388.7 MB, free: 34.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.2263, allocations: 0.8567 MB / 389.6 MB, free: 34.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.2263, allocations: 74.38 kB / 389.7 MB, free: 34.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2265, allocations: 108 kB / 389.8 MB, free: 33.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.2286, allocations: 1.427 MB / 391.2 MB, free: 32.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.2286, allocations: 7.938 kB / 391.2 MB, free: 32.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/0.2287, allocations: 40 kB / 391.2 MB, free: 32.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.2287, allocations: 41.98 kB / 391.3 MB, free: 32.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.2306, allocations: 1.292 MB / 392.6 MB, free: 31.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005025/0.2357, allocations: 4.355 MB / 396.9 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.2372, allocations: 1.983 MB / 398.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/0.238, allocations: 0.6337 MB / 399.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.238, allocations: 4.656 kB / 399.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000742/0.2388, allocations: 0.6015 MB / 400.1 MB, free: 23.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.524e-06/0.2388, allocations: 4 kB / 400.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.006104/0.2449, allocations: 2.863 MB / 403 MB, free: 20.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2449, allocations: 119.4 kB / 403.1 MB, free: 20.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.2458, allocations: 0.8207 MB / 404 MB, free: 19.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.2459, allocations: 37.7 kB / 404 MB, free: 19.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2461, allocations: 479.8 kB / 404.5 MB, free: 18.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.2463, allocations: 240.5 kB / 404.7 MB, free: 18.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.2463, allocations: 16 kB / 404.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.2464, allocations: 398.7 kB / 405.1 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.2469, allocations: 401.7 kB / 405.5 MB, free: 17.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/0.2475, allocations: 0.5493 MB / 406 MB, free: 17.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.2486, allocations: 0.9231 MB / 407 MB, free: 16.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2486, allocations: 7.938 kB / 407 MB, free: 16.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001669/0.2503, allocations: 1.291 MB / 408.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2503, allocations: 10.19 kB / 408.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2503, allocations: 8.391 kB / 408.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000923/0.2512, allocations: 468.2 kB / 408.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.2516, allocations: 103.8 kB / 408.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/0.2569, allocations: 5.126 MB / 414 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.2574, allocations: 83.39 kB / 414 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.2575, allocations: 31.98 kB / 414.1 MB, free: 8.863 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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) * 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 (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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0005223/0.258, allocations: 463.2 kB / 414.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2581, allocations: 87.09 kB / 414.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.2584, allocations: 116.5 kB / 414.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2584, allocations: 12 kB / 414.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2584, allocations: 0 / 414.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2584, allocations: 3.984 kB / 414.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.2616, allocations: 2.631 MB / 417.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2616, allocations: 0 / 417.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.2619, allocations: 63.91 kB / 417.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.2627, allocations: 460.3 kB / 417.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.2628, allocations: 16 kB / 417.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.2679, allocations: 5.087 MB / 423 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.268, allocations: 7.938 kB / 423 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.2707, allocations: 1.927 MB / 424.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.2711, allocations: 279.8 kB / 425.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.2713, allocations: 16.06 kB / 425.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.2717, allocations: 47.95 kB / 425.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.2719, allocations: 76.55 kB / 425.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.2719, allocations: 23.98 kB / 425.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007849/0.2727, allocations: 0.5848 MB / 425.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2727, allocations: 0 / 425.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009286/0.2737, allocations: 339 kB / 426.3 MB, free: 12.41 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 (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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.2738, allocations: 127.2 kB / 426.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.2759, allocations: 1.281 MB / 427.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2759, allocations: 0 / 427.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.2772, allocations: 0.8249 MB / 428.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2783, allocations: 254.7 kB / 428.8 MB, free: 9.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.2823, allocations: 2.713 MB / 431.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/0.2832, allocations: 1.3 MB / 432.8 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.2834, allocations: 55.38 kB / 432.8 MB, free: 5.766 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2834, allocations: 0 / 432.8 MB, free: 5.766 MB / 314.7 MB Notification: Performance of Templates: time 0.02658/0.31, allocations: 20.4 MB / 453.2 MB, free: 1.352 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches