Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000937/0.000937, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.245/1.245, allocations: 205.4 MB / 222.5 MB, free: 9.023 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.0008976/0.0008975, allocations: 87.84 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 327 MB, free: 160 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2199, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003604/0.2236, allocations: 3.902 MB / 378.5 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.2258, allocations: 1.223 MB / 379.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.2261, allocations: 16.06 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.2264, allocations: 120.2 kB / 379.8 MB, free: 41.28 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531: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:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0007518/0.2271, allocations: 303.4 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2275, allocations: 133.8 kB / 380.3 MB, free: 40.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2288, allocations: 1.641 MB / 381.9 MB, free: 39.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007528/0.2295, allocations: 0.6879 MB / 382.6 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000721/0.2303, allocations: 0.4999 MB / 383.1 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.2311, allocations: 0.695 MB / 383.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2313, allocations: 72.84 kB / 383.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2315, allocations: 78.09 kB / 383.9 MB, free: 38.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.2317, allocations: 353.1 kB / 384.3 MB, free: 38.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.232, allocations: 297 kB / 384.6 MB, free: 38.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2332, allocations: 1.77 MB / 386.3 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2332, allocations: 0 / 386.3 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2332, allocations: 0 / 386.3 MB, free: 37.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.2332, allocations: 0 / 386.3 MB, free: 37.03 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002388/0.2356, allocations: 1.541 MB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2357, allocations: 12.03 kB / 387.9 MB, free: 35.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.2359, allocations: 146.2 kB / 388 MB, free: 35.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.237, allocations: 0.8871 MB / 388.9 MB, free: 34.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.237, allocations: 81.98 kB / 389 MB, free: 34.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.2372, allocations: 108 kB / 389.1 MB, free: 34.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.2392, allocations: 1.541 MB / 390.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.2393, allocations: 7.938 kB / 390.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.2394, allocations: 40 kB / 390.7 MB, free: 32.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.2394, allocations: 46.02 kB / 390.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.2415, allocations: 1.437 MB / 392.2 MB, free: 31.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.2471, allocations: 4.977 MB / 397.1 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.2484, allocations: 1.461 MB / 398.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.2495, allocations: 0.7477 MB / 399.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.2495, allocations: 4.562 kB / 399.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008396/0.2504, allocations: 0.6279 MB / 400 MB, free: 22.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.216e-06/0.2504, allocations: 0 / 400 MB, free: 22.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00517/0.2556, allocations: 2.427 MB / 402.4 MB, free: 20.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2556, allocations: 93.73 kB / 402.5 MB, free: 20.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.2567, allocations: 0.9304 MB / 403.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.2568, allocations: 41.7 kB / 403.5 MB, free: 19.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.2571, allocations: 0.5231 MB / 404 MB, free: 18.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.2572, allocations: 232.7 kB / 404.2 MB, free: 18.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.2573, allocations: 12 kB / 404.2 MB, free: 18.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2573, allocations: 337.9 kB / 404.6 MB, free: 18.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.2579, allocations: 421.7 kB / 405 MB, free: 17.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.2585, allocations: 0.5603 MB / 405.5 MB, free: 17.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.2591, allocations: 457.9 kB / 406 MB, free: 16.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2592, allocations: 3.953 kB / 406 MB, free: 16.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001875/0.261, allocations: 1.304 MB / 407.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2611, allocations: 8.938 kB / 407.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2611, allocations: 4 kB / 407.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007821/0.2619, allocations: 402.4 kB / 407.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.2624, allocations: 119.9 kB / 407.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.2664, allocations: 4.13 MB / 411.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.267, allocations: 91.45 kB / 412 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.2671, allocations: 31.92 kB / 412.1 MB, free: 10.52 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 (59): * Single equations (assignments): 58 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006587/0.2678, allocations: 499.1 kB / 412.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.2679, allocations: 94.88 kB / 412.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.2681, allocations: 120.5 kB / 412.8 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2681, allocations: 11.98 kB / 412.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2681, allocations: 0 / 412.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2681, allocations: 0 / 412.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.2713, allocations: 2.616 MB / 415.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2713, allocations: 4 kB / 415.4 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.2717, allocations: 91.88 kB / 415.5 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007273/0.2724, allocations: 385.2 kB / 415.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.2725, allocations: 12 kB / 415.9 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.2764, allocations: 4.092 MB / 420 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2764, allocations: 4 kB / 420 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.2789, allocations: 1.989 MB / 422 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.2793, allocations: 287.8 kB / 422.2 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.2794, allocations: 12 kB / 422.3 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.2799, allocations: 43.95 kB / 422.3 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.2801, allocations: 84.53 kB / 422.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.2802, allocations: 19.98 kB / 422.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008855/0.2811, allocations: 0.6668 MB / 423.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2811, allocations: 0 / 423.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001015/0.2821, allocations: 346.8 kB / 423.4 MB, free: 14.93 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.2823, allocations: 127 kB / 423.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.2844, allocations: 1.295 MB / 424.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2845, allocations: 3.938 kB / 424.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2857, allocations: 0.8144 MB / 425.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2867, allocations: 243.3 kB / 425.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.2913, allocations: 3.016 MB / 428.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/0.2923, allocations: 1.354 MB / 430.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.2925, allocations: 59.42 kB / 430.3 MB, free: 7.934 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2925, allocations: 3.938 kB / 430.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of Templates: time 0.02884/0.3214, allocations: 21.78 MB / 452.1 MB, free: 2.133 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches