Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001076, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 72.59 kB / 307.1 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08409, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005589/0.08972, allocations: 4.586 MB / 362.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.09207, allocations: 1.309 MB / 363.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.09255, allocations: 23.94 kB / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.09297, allocations: 166.6 kB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009868/0.09397, allocations: 350 kB / 364 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.09442, allocations: 223.6 kB / 364.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.0958, allocations: 1.619 MB / 365.9 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.09694, allocations: 1.11 MB / 367 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008219/0.09777, allocations: 0.6891 MB / 367.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.09884, allocations: 0.8483 MB / 368.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.09912, allocations: 180 kB / 368.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.09947, allocations: 184 kB / 368.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.09986, allocations: 474.7 kB / 369.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009062/0.1008, allocations: 0.8049 MB / 370.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1439/0.2447, allocations: 2.238 MB / 372.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2447, allocations: 2.406 kB / 372.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2447, allocations: 0 / 372.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.143e-05/0.2448, allocations: 1.531 kB / 372.4 MB, free: 13.19 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004157/0.249, allocations: 1.791 MB / 374.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2491, allocations: 9.406 kB / 374.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.2493, allocations: 165.3 kB / 374.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/0.2502, allocations: 215 kB / 374.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.2515, allocations: 1.002 MB / 375.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.2516, allocations: 80.44 kB / 375.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2518, allocations: 99.8 kB / 375.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.2541, allocations: 1.563 MB / 377.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.2541, allocations: 3.531 kB / 377.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.2542, allocations: 40.34 kB / 377.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.2543, allocations: 45.02 kB / 377.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.2565, allocations: 1.436 MB / 378.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005883/0.2624, allocations: 4.938 MB / 383.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2637, allocations: 1.458 MB / 385.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.2648, allocations: 0.7292 MB / 385.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.2649, allocations: 10.86 kB / 385.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000862/0.2657, allocations: 0.6141 MB / 386.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.2657, allocations: 0 / 386.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00524/0.271, allocations: 2.432 MB / 389 MB, free: 6.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.271, allocations: 95.67 kB / 389.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.272, allocations: 0.968 MB / 390.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.2721, allocations: 42.23 kB / 390.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.2724, allocations: 0.5276 MB / 390.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2725, allocations: 237.2 kB / 390.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.2727, allocations: 131.1 kB / 391 MB, free: 4.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.2728, allocations: 329.6 kB / 391.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.2734, allocations: 418 kB / 391.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.274, allocations: 0.5595 MB / 392.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.2752, allocations: 0.9476 MB / 393.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2753, allocations: 1.375 kB / 393.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001828/0.2771, allocations: 1.3 MB / 394.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2771, allocations: 7.125 kB / 394.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2771, allocations: 4.188 kB / 394.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008153/0.2779, allocations: 397.3 kB / 394.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.2784, allocations: 120.7 kB / 395 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.2828, allocations: 4.507 MB / 399.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.2834, allocations: 82.48 kB / 399.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.2834, allocations: 19.75 kB / 399.6 MB, free: 15.04 MB / 318.1 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 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].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 (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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0005562/0.284, allocations: 0.4996 MB / 400.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.2841, allocations: 100.9 kB / 400.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.2843, allocations: 116.7 kB / 400.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2843, allocations: 7.562 kB / 400.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2843, allocations: 0 / 400.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.2844, allocations: 3.984 kB / 400.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.2879, allocations: 2.596 MB / 403 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2879, allocations: 0 / 403 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.2883, allocations: 96.94 kB / 403.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007592/0.2891, allocations: 389 kB / 403.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.2892, allocations: 15.94 kB / 403.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.2942, allocations: 4.484 MB / 407.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2942, allocations: 0 / 407.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.297, allocations: 1.962 MB / 409.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.2974, allocations: 283.8 kB / 410.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.2976, allocations: 12 kB / 410.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.2981, allocations: 43.94 kB / 410.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.2983, allocations: 76.55 kB / 410.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.2984, allocations: 19.98 kB / 410.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008551/0.2992, allocations: 0.6903 MB / 411 MB, free: 4.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2992, allocations: 0 / 411 MB, free: 4.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009814/0.3002, allocations: 358.8 kB / 411.4 MB, free: 4.125 MB / 318.1 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_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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003085/0.3033, allocations: 2.527 MB / 413.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.3058, allocations: 1.431 MB / 415.3 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3059, allocations: 8.312 kB / 415.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.3071, allocations: 0.803 MB / 416.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3082, allocations: 260.4 kB / 416.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.3237, allocations: 11.49 MB / 427.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/0.3247, allocations: 1.392 MB / 429.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004647/0.3251, allocations: 171.4 kB / 429.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.3257, allocations: 431.3 kB / 429.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3257, allocations: 0 / 429.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.3808, allocations: 28.4 MB / 458.3 MB, free: 5.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.34, allocations: 12.22 kB / 458.3 MB, free: 5.32 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_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_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches