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.001197/0.001197, 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.001223/0.001223, 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.407/1.407, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.67 kB / 307.1 MB, free: 432 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08285/0.08409, allocations: 50.54 MB / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004943/0.08906, allocations: 3.692 MB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.09104, allocations: 1.083 MB / 362.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.09137, allocations: 11.94 kB / 362.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.09167, allocations: 111.1 kB / 362.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007246/0.09241, allocations: 222.7 kB / 362.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.09277, allocations: 155.7 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.09368, allocations: 0.9651 MB / 363.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.09436, allocations: 0.6046 MB / 364.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.09488, allocations: 422.5 kB / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.09552, allocations: 498.1 kB / 365.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.09569, allocations: 104 kB / 365.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.09593, allocations: 104 kB / 365.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.09619, allocations: 279.2 kB / 365.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005006/0.0967, allocations: 489.7 kB / 366.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.09777, allocations: 1.297 MB / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.09778, allocations: 0 / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09779, allocations: 0 / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.09783, allocations: 0 / 367.6 MB, free: 3.836 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002116/0.09995, allocations: 1.177 MB / 368.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1, allocations: 11.97 kB / 368.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.1001, allocations: 110.7 kB / 368.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.1006, allocations: 123.8 kB / 369 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.1014, allocations: 0.6449 MB / 369.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.1015, allocations: 49.31 kB / 369.7 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.1016, allocations: 64 kB / 369.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.103, allocations: 0.9189 MB / 370.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.103, allocations: 3.906 kB / 370.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.1031, allocations: 28 kB / 370.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.1031, allocations: 33.3 kB / 370.7 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1498/0.2529, allocations: 0.7885 MB / 371.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.2567, allocations: 2.804 MB / 374.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.2575, allocations: 0.7511 MB / 375.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.2581, allocations: 351.5 kB / 375.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2582, allocations: 7.578 kB / 375.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/0.2587, allocations: 377 kB / 375.8 MB, free: 18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.2587, allocations: 0 / 375.8 MB, free: 18 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002646/0.2614, allocations: 1.233 MB / 377 MB, free: 17.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2615, allocations: 118 kB / 377.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.2621, allocations: 0.5801 MB / 377.7 MB, free: 17.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2622, allocations: 37.11 kB / 377.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2624, allocations: 368.7 kB / 378.1 MB, free: 16.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.762e-05/0.2625, allocations: 136.1 kB / 378.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.2626, allocations: 94.97 kB / 378.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.2627, allocations: 367.6 kB / 378.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.2631, allocations: 229.5 kB / 378.9 MB, free: 16.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.2635, allocations: 356.1 kB / 379.3 MB, free: 16.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.2643, allocations: 0.5651 MB / 379.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2643, allocations: 1.344 kB / 379.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001141/0.2654, allocations: 0.7547 MB / 380.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2654, allocations: 6.844 kB / 380.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2655, allocations: 7.344 kB / 380.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.2659, allocations: 214.1 kB / 380.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.2662, allocations: 70.56 kB / 380.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.2691, allocations: 3.025 MB / 383.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.2694, allocations: 58.42 kB / 384 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.2695, allocations: 19.38 kB / 384 MB, free: 13.08 MB / 302.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.0003347/0.2698, allocations: 328.3 kB / 384.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.2699, allocations: 59.66 kB / 384.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.27, allocations: 75.03 kB / 384.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2701, allocations: 5.891 kB / 384.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2701, allocations: 4 kB / 384.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2701, allocations: 3.25 kB / 384.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.2724, allocations: 1.752 MB / 386.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2724, allocations: 1.75 kB / 386.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2727, allocations: 50 kB / 386.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.2731, allocations: 197.9 kB / 386.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.2731, allocations: 19.25 kB / 386.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.2755, allocations: 2.908 MB / 389.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2755, allocations: 1.344 kB / 389.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.2771, allocations: 1.144 MB / 390.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.2773, allocations: 193 kB / 390.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.2774, allocations: 7.344 kB / 390.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.2777, allocations: 28.25 kB / 390.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2778, allocations: 50.75 kB / 390.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2778, allocations: 18.05 kB / 390.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.2783, allocations: 427.4 kB / 391.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2783, allocations: 0 / 391.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.2789, allocations: 207.4 kB / 391.4 MB, free: 8.5 MB / 302.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.001737/0.2807, allocations: 1.708 MB / 393.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2819, allocations: 0.7875 MB / 393.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2819, allocations: 3.938 kB / 393.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.2825, allocations: 479 kB / 394.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.2831, allocations: 149.1 kB / 394.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00735/0.2905, allocations: 6.825 MB / 401.4 MB, free: 1.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.2909, allocations: 1.074 MB / 402.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.2912, allocations: 104.8 kB / 402.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.2914, allocations: 254 kB / 402.8 MB, free: 472 kB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2914, allocations: 4 kB / 402.8 MB, free: 468 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.3294, allocations: 16.35 MB / 419.2 MB, free: 428 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 18.03 kB / 419.2 MB, free: 412 kB / 318.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