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.0009277/0.0009278, allocations: 169.8 kB / 16.72 MB, free: 5.051 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.408/1.408, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008451/0.000845, allocations: 88.98 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003432, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 47.57 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003833/0.2693, allocations: 3.905 MB / 379 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2714, allocations: 1.213 MB / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.2718, allocations: 20.12 kB / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.2721, allocations: 124.7 kB / 380.4 MB, free: 41.3 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.0009465/0.2731, allocations: 312.4 kB / 380.7 MB, free: 41.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.2734, allocations: 121.6 kB / 380.8 MB, free: 40.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.2749, allocations: 1.658 MB / 382.4 MB, free: 39.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009374/0.2758, allocations: 0.7646 MB / 383.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000747/0.2766, allocations: 0.5035 MB / 383.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.2774, allocations: 0.6988 MB / 384.4 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.2776, allocations: 74.94 kB / 384.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.2778, allocations: 71.5 kB / 384.6 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.278, allocations: 358.4 kB / 384.9 MB, free: 38.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.2787, allocations: 0.6511 MB / 385.6 MB, free: 38.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.2796, allocations: 1.765 MB / 387.3 MB, free: 36.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2796, allocations: 0 / 387.3 MB, free: 36.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2796, allocations: 0 / 387.3 MB, free: 36.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.2796, allocations: 3.938 kB / 387.3 MB, free: 36.45 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.002229/0.2819, allocations: 1.53 MB / 388.9 MB, free: 34.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2819, allocations: 8.031 kB / 388.9 MB, free: 34.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2821, allocations: 151.2 kB / 389 MB, free: 34.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.2832, allocations: 0.9267 MB / 389.9 MB, free: 33.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.2832, allocations: 78.41 kB / 390 MB, free: 33.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.2833, allocations: 112.1 kB / 390.1 MB, free: 33.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.2854, allocations: 1.541 MB / 391.7 MB, free: 31.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.2854, allocations: 4 kB / 391.7 MB, free: 31.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.2856, allocations: 40 kB / 391.7 MB, free: 31.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.2856, allocations: 46.02 kB / 391.7 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.2876, allocations: 1.444 MB / 393.2 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005672/0.2933, allocations: 4.968 MB / 398.2 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2946, allocations: 1.467 MB / 399.6 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009944/0.2956, allocations: 0.7437 MB / 400.4 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.2956, allocations: 8.562 kB / 400.4 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.2965, allocations: 0.6278 MB / 401 MB, free: 22.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.2965, allocations: 0 / 401 MB, free: 22.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004992/0.3015, allocations: 2.458 MB / 403.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.3016, allocations: 89.75 kB / 403.6 MB, free: 19.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3026, allocations: 0.9227 MB / 404.5 MB, free: 18.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.3027, allocations: 41.7 kB / 404.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.303, allocations: 0.5269 MB / 405 MB, free: 18.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.3031, allocations: 224.8 kB / 405.3 MB, free: 17.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3032, allocations: 20 kB / 405.3 MB, free: 17.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.3033, allocations: 337.9 kB / 405.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.3039, allocations: 417.7 kB / 406 MB, free: 17.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/0.3045, allocations: 0.5641 MB / 406.6 MB, free: 16.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.3057, allocations: 0.9621 MB / 407.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3057, allocations: 0 / 407.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001716/0.3074, allocations: 1.311 MB / 408.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3074, allocations: 8 kB / 408.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3075, allocations: 4 kB / 408.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.3082, allocations: 402.5 kB / 409.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.3087, allocations: 119.8 kB / 409.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.3127, allocations: 4.131 MB / 413.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.3132, allocations: 91.59 kB / 413.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.3132, allocations: 31.94 kB / 413.6 MB, free: 9.312 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.000561/0.3138, allocations: 495.1 kB / 414.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.3139, allocations: 98.81 kB / 414.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.3141, allocations: 124.5 kB / 414.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3141, allocations: 8 kB / 414.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3141, allocations: 0 / 414.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3142, allocations: 7.922 kB / 414.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.3172, allocations: 2.612 MB / 417 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3172, allocations: 0 / 417 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.3176, allocations: 95.88 kB / 417.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.3183, allocations: 381.2 kB / 417.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.3183, allocations: 12 kB / 417.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.3222, allocations: 4.092 MB / 421.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3222, allocations: 3.938 kB / 421.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.3248, allocations: 1.985 MB / 423.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.3252, allocations: 287.7 kB / 423.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3253, allocations: 12 kB / 423.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.3257, allocations: 55.94 kB / 423.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.3259, allocations: 80.53 kB / 423.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.326, allocations: 16 kB / 424 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008517/0.3268, allocations: 0.6707 MB / 424.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3269, allocations: 3.938 kB / 424.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009338/0.3278, allocations: 339 kB / 425 MB, free: 13.72 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.0001789/0.328, allocations: 131 kB / 425.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.3302, allocations: 1.287 MB / 426.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3302, allocations: 7.938 kB / 426.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3314, allocations: 0.8145 MB / 427.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3325, allocations: 231.3 kB / 427.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.3377, allocations: 3.016 MB / 430.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.3388, allocations: 1.35 MB / 431.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.3391, allocations: 67.42 kB / 431.9 MB, free: 6.727 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3391, allocations: 7.875 kB / 431.9 MB, free: 6.719 MB / 314.7 MB Notification: Performance of Templates: time 0.02651/0.3656, allocations: 21.74 MB / 453.6 MB, free: 0.9609 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