Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 117.2 kB / 17.79 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 204.6 kB / 18.74 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 50.54 MB / 408.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005479/0.3269, allocations: 3.708 MB / 412.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.3293, allocations: 1.079 MB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.3296, allocations: 19.88 kB / 413.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.33, allocations: 103.1 kB / 413.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000915/0.3309, allocations: 242.6 kB / 413.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.3313, allocations: 155.7 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3323, allocations: 0.965 MB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.3331, allocations: 0.6044 MB / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.3336, allocations: 418.6 kB / 416 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.3342, allocations: 0.4941 MB / 416.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3344, allocations: 100 kB / 416.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3345, allocations: 108 kB / 416.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.3348, allocations: 275.2 kB / 417 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.3352, allocations: 485.7 kB / 417.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3364, allocations: 1.307 MB / 418.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3364, allocations: 3.984 kB / 418.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3365, allocations: 4 kB / 418.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3365, allocations: 0 / 418.8 MB, free: 7.582 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.002203/0.3387, allocations: 1.198 MB / 420 MB, free: 6.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3387, allocations: 12.03 kB / 420 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.3389, allocations: 114.7 kB / 420.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.3393, allocations: 128.3 kB / 420.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.3403, allocations: 0.6649 MB / 420.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.3404, allocations: 49.3 kB / 421 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3405, allocations: 68 kB / 421 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.3419, allocations: 0.9189 MB / 421.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.342, allocations: 0 / 421.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.3421, allocations: 28 kB / 422 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.3421, allocations: 25.31 kB / 422 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.3435, allocations: 0.8052 MB / 422.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.3475, allocations: 2.8 MB / 425.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009122/0.3484, allocations: 0.7407 MB / 426.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.349, allocations: 345.3 kB / 426.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.349, allocations: 4.328 kB / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/0.3496, allocations: 381.8 kB / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.3496, allocations: 0 / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002735/0.3524, allocations: 1.233 MB / 428.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.3525, allocations: 110.6 kB / 428.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.3531, allocations: 0.5878 MB / 429 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.3532, allocations: 37.73 kB / 429 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.3535, allocations: 380.6 kB / 429.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3536, allocations: 138.8 kB / 429.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3538, allocations: 94.25 kB / 429.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.354, allocations: 358.8 kB / 430 MB, free: 12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.3544, allocations: 225 kB / 430.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.3549, allocations: 361.7 kB / 430.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/0.3557, allocations: 0.5777 MB / 431.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3557, allocations: 4 kB / 431.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001282/0.357, allocations: 0.7477 MB / 431.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.357, allocations: 8 kB / 431.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3571, allocations: 4 kB / 431.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.3576, allocations: 200.7 kB / 432.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3579, allocations: 80 kB / 432.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.3614, allocations: 3.029 MB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.3617, allocations: 55.84 kB / 435.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.3618, allocations: 19.98 kB / 435.3 MB, free: 6.445 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.000484/0.3623, allocations: 333.5 kB / 435.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.3624, allocations: 63.62 kB / 435.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.3625, allocations: 73.42 kB / 435.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3625, allocations: 4 kB / 435.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3625, allocations: 144 / 435.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3625, allocations: 3.984 kB / 435.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.3652, allocations: 1.745 MB / 437.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3652, allocations: 4 kB / 437.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.3654, allocations: 47.94 kB / 437.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/0.3658, allocations: 196.7 kB / 437.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.3659, allocations: 19.92 kB / 437.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.369, allocations: 2.915 MB / 440.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.369, allocations: 3.938 kB / 440.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.3708, allocations: 1.143 MB / 441.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.3712, allocations: 192.7 kB / 442 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.3712, allocations: 15.98 kB / 442 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.3715, allocations: 19.98 kB / 442 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3717, allocations: 51.7 kB / 442.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.3717, allocations: 12 kB / 442.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005/0.3722, allocations: 426.8 kB / 442.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3722, allocations: 7.938 kB / 442.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007238/0.3729, allocations: 207.5 kB / 442.7 MB, free: 14.73 MB / 366.1 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/0.375, allocations: 1.722 MB / 444.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.3763, allocations: 0.7286 MB / 445.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3764, allocations: 0 / 445.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.3771, allocations: 487.1 kB / 445.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.3778, allocations: 153.3 kB / 445.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/0.3871, allocations: 6.647 MB / 452.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.3879, allocations: 1.078 MB / 453.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.3882, allocations: 96.78 kB / 453.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.3886, allocations: 251.3 kB / 453.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3886, allocations: 0 / 453.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.4358, allocations: 16.68 MB / 470.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.49, allocations: 11.94 kB / 470.5 MB, free: 2.938 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv","/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches