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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 207 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2671, allocations: 53.4 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006533/0.2736, allocations: 4.198 MB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.2764, allocations: 1.27 MB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.2768, allocations: 27.81 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.2772, allocations: 174.6 kB / 436.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.2782, allocations: 366 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.2788, allocations: 227.6 kB / 437.4 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.2809, allocations: 1.638 MB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.2819, allocations: 0.5716 MB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.2832, allocations: 0.7126 MB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.2847, allocations: 0.8717 MB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.285, allocations: 176 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.2855, allocations: 192 kB / 441.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007029/0.2862, allocations: 486.5 kB / 442 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.2874, allocations: 0.6379 MB / 442.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.2912, allocations: 2.299 MB / 445 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2912, allocations: 0 / 445 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2912, allocations: 0 / 445 MB, free: 8.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.76e-05/0.2913, allocations: 0 / 445 MB, free: 8.566 MB / 350.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.005835/0.2971, allocations: 2.064 MB / 447 MB, free: 6.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.2972, allocations: 15.98 kB / 447.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/0.2975, allocations: 164.8 kB / 447.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.2986, allocations: 211.9 kB / 447.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.3014, allocations: 0.9788 MB / 448.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.3015, allocations: 78.44 kB / 448.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.3017, allocations: 107.9 kB / 448.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/0.3057, allocations: 1.574 MB / 450.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.3057, allocations: 0 / 450.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.3059, allocations: 51.97 kB / 450.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.251e-05/0.306, allocations: 46.05 kB / 450.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/0.3101, allocations: 1.433 MB / 451.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.3231, allocations: 4.463 MB / 456.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.3259, allocations: 0.9332 MB / 457.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.3284, allocations: 0.6845 MB / 457.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.3284, allocations: 12.59 kB / 457.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/0.3304, allocations: 0.6336 MB / 458.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 4.268e-06/0.3304, allocations: 0 / 458.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.0114/0.3418, allocations: 2.367 MB / 460.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3419, allocations: 89.75 kB / 460.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.3443, allocations: 0.9658 MB / 461.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.3445, allocations: 45.7 kB / 461.9 MB, free: 7.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008336/0.3453, allocations: 0.5397 MB / 462.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.3457, allocations: 249.9 kB / 462.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.3461, allocations: 126.7 kB / 462.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.3464, allocations: 334 kB / 463.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.3477, allocations: 413.7 kB / 463.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.3493, allocations: 0.5853 MB / 464.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.3522, allocations: 0.9522 MB / 465 MB, free: 3.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3522, allocations: 0 / 465 MB, free: 3.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00434/0.3566, allocations: 1.287 MB / 466.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3566, allocations: 4 kB / 466.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3566, allocations: 8.031 kB / 466.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.3585, allocations: 403.1 kB / 466.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3595, allocations: 111.8 kB / 466.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.3702, allocations: 4.344 MB / 471.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3715, allocations: 75.64 kB / 471.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.3716, allocations: 32 kB / 471.3 MB, free: 13.56 MB / 382.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_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) * 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.00132/0.3729, allocations: 0.4915 MB / 471.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.3731, allocations: 95.39 kB / 471.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.3735, allocations: 120.8 kB / 472 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3735, allocations: 11.94 kB / 472 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3735, allocations: 0 / 472 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3735, allocations: 3.984 kB / 472 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.3783, allocations: 2.419 MB / 474.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.3783, allocations: 3.984 kB / 474.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.3787, allocations: 83.89 kB / 474.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008799/0.3796, allocations: 392.5 kB / 474.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.3797, allocations: 15.98 kB / 474.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.3856, allocations: 4.325 MB / 479.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3856, allocations: 0 / 479.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.389, allocations: 1.952 MB / 481.2 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.3897, allocations: 219.2 kB / 481.4 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3898, allocations: 20.06 kB / 481.4 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.3902, allocations: 39.89 kB / 481.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.3905, allocations: 84.5 kB / 481.6 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.3905, allocations: 27.92 kB / 481.6 MB, free: 3.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.3915, allocations: 0.6903 MB / 482.3 MB, free: 2.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3915, allocations: 0 / 482.3 MB, free: 2.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3926, allocations: 355.2 kB / 482.6 MB, free: 2.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.003605/0.3962, allocations: 2.521 MB / 485.1 MB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.3986, allocations: 1.249 MB / 486.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3986, allocations: 0 / 486.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.3999, allocations: 0.784 MB / 487.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.4011, allocations: 258.2 kB / 487.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.4196, allocations: 10.9 MB / 498.3 MB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/0.4206, allocations: 0.8026 MB / 499.1 MB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005397/0.4212, allocations: 171.4 kB / 499.3 MB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/0.4218, allocations: 423.3 kB / 499.7 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4218, allocations: 0 / 499.7 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07537/0.4972, allocations: 29.66 MB / 0.517 GB, free: 3.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/13.96, allocations: 6.391 kB / 0.517 GB, free: 3.285 MB / 430.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.664940918795764]