Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001825/0.001824, allocations: 175 kB / 16.72 MB, free: 5.082 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.396/1.396, 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.0007366/0.0007366, allocations: 88.69 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 47.57 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.002947/0.2155, allocations: 3.119 MB / 378.2 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2169, allocations: 0.9875 MB / 379.2 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.2171, allocations: 15.75 kB / 379.2 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.2173, allocations: 78.42 kB / 379.3 MB, free: 42.16 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.2179, allocations: 199.4 kB / 379.5 MB, free: 42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.2181, allocations: 98.48 kB / 379.6 MB, free: 41.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007588/0.2189, allocations: 0.9693 MB / 380.6 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005464/0.2194, allocations: 493.8 kB / 381 MB, free: 41.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.2198, allocations: 301.6 kB / 381.3 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.2202, allocations: 409.6 kB / 381.7 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.2203, allocations: 43.78 kB / 381.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2204, allocations: 41.75 kB / 381.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2206, allocations: 213.2 kB / 382 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.2209, allocations: 403.6 kB / 382.4 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.2216, allocations: 0.9897 MB / 383.4 MB, free: 39.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2216, allocations: 0 / 383.4 MB, free: 39.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2216, allocations: 1.5 kB / 383.4 MB, free: 39.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2217, allocations: 3.938 kB / 383.4 MB, free: 39.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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001525/0.2232, allocations: 1.016 MB / 384.4 MB, free: 38.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2232, allocations: 9.438 kB / 384.4 MB, free: 38.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.2234, allocations: 88.28 kB / 384.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.2241, allocations: 0.5952 MB / 385.1 MB, free: 38.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.2241, allocations: 50.94 kB / 385.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2242, allocations: 71.42 kB / 385.2 MB, free: 38.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.2256, allocations: 0.9046 MB / 386.1 MB, free: 37.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.2256, allocations: 11.83 kB / 386.2 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.2257, allocations: 28 kB / 386.2 MB, free: 37.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.2257, allocations: 33.3 kB / 386.2 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2268, allocations: 0.7936 MB / 387 MB, free: 36.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.2298, allocations: 2.811 MB / 389.8 MB, free: 33.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/0.2305, allocations: 0.7495 MB / 390.6 MB, free: 32.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.231, allocations: 351.8 kB / 390.9 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.231, allocations: 4.328 kB / 390.9 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.2315, allocations: 389.6 kB / 391.3 MB, free: 32.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.2315, allocations: 4 kB / 391.3 MB, free: 32.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002241/0.2338, allocations: 1.212 MB / 392.5 MB, free: 30.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.2338, allocations: 114.8 kB / 392.6 MB, free: 30.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.2344, allocations: 0.5645 MB / 393.2 MB, free: 30.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.2344, allocations: 33.7 kB / 393.2 MB, free: 30.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2346, allocations: 355.9 kB / 393.6 MB, free: 29.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.2347, allocations: 142 kB / 393.7 MB, free: 29.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.2347, allocations: 4 kB / 393.7 MB, free: 29.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.2348, allocations: 366.8 kB / 394.1 MB, free: 29.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.2351, allocations: 225 kB / 394.3 MB, free: 29.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.2354, allocations: 365.7 kB / 394.7 MB, free: 28.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.2361, allocations: 0.5792 MB / 395.2 MB, free: 28.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2361, allocations: 3.938 kB / 395.2 MB, free: 28.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009888/0.2371, allocations: 0.7589 MB / 396 MB, free: 27.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2371, allocations: 4 kB / 396 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2371, allocations: 4 kB / 396 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/0.2376, allocations: 205 kB / 396.2 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.2379, allocations: 83.83 kB / 396.3 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.2402, allocations: 2.662 MB / 398.9 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2405, allocations: 51.58 kB / 399 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2406, allocations: 23.98 kB / 399 MB, free: 24.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003468/0.2409, allocations: 333.5 kB / 399.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.241, allocations: 55.34 kB / 399.4 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.2411, allocations: 61.42 kB / 399.5 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2411, allocations: 19.97 kB / 399.5 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2411, allocations: 0 / 399.5 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2411, allocations: 0 / 399.5 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.2429, allocations: 1.636 MB / 401.1 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2429, allocations: 0 / 401.1 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.2432, allocations: 51.97 kB / 401.2 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.2435, allocations: 200.7 kB / 401.4 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.2436, allocations: 4 kB / 401.4 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.2457, allocations: 2.658 MB / 404 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2457, allocations: 0 / 404 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.247, allocations: 1.114 MB / 405.1 MB, free: 17.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.2472, allocations: 196.2 kB / 405.3 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.2472, allocations: 12 kB / 405.3 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.2475, allocations: 27.97 kB / 405.4 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2476, allocations: 43.94 kB / 405.4 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.2477, allocations: 16.17 kB / 405.4 MB, free: 17.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003821/0.2481, allocations: 414.8 kB / 405.8 MB, free: 17.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2481, allocations: 0 / 405.8 MB, free: 17.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006386/0.2487, allocations: 203.3 kB / 406 MB, free: 16.86 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.2488, allocations: 119.8 kB / 406.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.2498, allocations: 0.7334 MB / 406.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2498, allocations: 4 kB / 406.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.2504, allocations: 482 kB / 407.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.2511, allocations: 142.1 kB / 407.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.2531, allocations: 1.774 MB / 409.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.2535, allocations: 1.059 MB / 410.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2536, allocations: 39.42 kB / 410.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2537, allocations: 0 / 410.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Templates: time 0.01103/0.2647, allocations: 12.65 MB / 423 MB, free: 15.77 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches