Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109.2 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 184.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009451/0.0009451, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2121, allocations: 49.44 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004465/0.2166, allocations: 3.671 MB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2181, allocations: 1.001 MB / 406.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.2183, allocations: 11.94 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.2186, allocations: 111.1 kB / 406.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.2192, allocations: 230.7 kB / 406.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.2194, allocations: 139.7 kB / 406.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.2203, allocations: 0.9573 MB / 407.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006401/0.2209, allocations: 0.5887 MB / 408.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.2213, allocations: 410.6 kB / 408.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.2219, allocations: 498.1 kB / 409 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.222, allocations: 100 kB / 409.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.2222, allocations: 100 kB / 409.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.2224, allocations: 287.2 kB / 409.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.2228, allocations: 473.8 kB / 410 MB, free: 320 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009854/0.2238, allocations: 1.294 MB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2238, allocations: 0 / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2238, allocations: 3.938 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2239, allocations: 0 / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001902/0.2258, allocations: 1.158 MB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2258, allocations: 12.03 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.226, allocations: 87.91 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.2269, allocations: 0.6312 MB / 413.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.2269, allocations: 61.23 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2271, allocations: 64 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2285, allocations: 0.9228 MB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2285, allocations: 0 / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.2286, allocations: 28 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.2286, allocations: 29.31 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.2299, allocations: 0.7936 MB / 415 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.2337, allocations: 2.78 MB / 417.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.2345, allocations: 0.7484 MB / 418.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.2351, allocations: 337.2 kB / 418.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2352, allocations: 8.328 kB / 418.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/0.2357, allocations: 385.8 kB / 419.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.2357, allocations: 0 / 419.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002727/0.2385, allocations: 1.232 MB / 420.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.2386, allocations: 106.8 kB / 420.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.2392, allocations: 0.5721 MB / 421.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.2392, allocations: 29.7 kB / 421.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.2394, allocations: 359.9 kB / 421.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2396, allocations: 134 kB / 421.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.2397, allocations: 98.25 kB / 421.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2398, allocations: 358.8 kB / 422.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.2402, allocations: 221 kB / 422.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.2407, allocations: 361.7 kB / 422.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.2415, allocations: 0.5691 MB / 423.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2415, allocations: 4 kB / 423.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001189/0.2427, allocations: 0.7473 MB / 424 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2427, allocations: 8 kB / 424 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2427, allocations: 4 kB / 424 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.2432, allocations: 220 kB / 424.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.2435, allocations: 67.84 kB / 424.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.2467, allocations: 3.029 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.2471, allocations: 67.48 kB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.2471, allocations: 20 kB / 427.4 MB, free: 14.16 MB / 350.1 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 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003539/0.2475, allocations: 329.5 kB / 427.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.2476, allocations: 55.34 kB / 427.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.2477, allocations: 69.27 kB / 427.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2477, allocations: 0 / 427.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2477, allocations: 4 kB / 427.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.248, allocations: 192.3 kB / 428.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.2481, allocations: 4 kB / 428.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.2483, allocations: 27.97 kB / 428.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2485, allocations: 47.88 kB / 428.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001591/0.2501, allocations: 0.9093 MB / 429.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001568/0.2516, allocations: 1.114 MB / 430.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004843/0.2521, allocations: 263.6 kB / 430.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004585/0.2526, allocations: 418.8 kB / 430.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Backend: time 6.61e-07/0.2526, allocations: 0 / 430.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.254, allocations: 0.6137 MB / 431.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 0.002667/0.2567, allocations: 1.907 MB / 433.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Templates: time 0.017/0.2737, allocations: 9.94 MB / 443.3 MB, free: 14.31 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches