Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.00177/0.00177, allocations: 117.8 kB / 18.5 MB, free: 4.566 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.002144/0.002144, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 59.91 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1189, allocations: 53.33 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005782/0.1247, allocations: 3.758 MB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.127, allocations: 1.009 MB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.1273, allocations: 8 kB / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1276, allocations: 79.16 kB / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2212/0.3488, allocations: 141.5 kB / 431.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.3495, allocations: 183.8 kB / 431.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.3504, allocations: 0.621 MB / 432.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.3507, allocations: 147.5 kB / 432.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.3511, allocations: 245.3 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.3514, allocations: 254.7 kB / 433.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.3515, allocations: 59.11 kB / 433.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3517, allocations: 59.97 kB / 433.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.3517, allocations: 121 kB / 433.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3519, allocations: 274.3 kB / 433.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.3525, allocations: 0.6496 MB / 434.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3525, allocations: 1.094 kB / 434.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3525, allocations: 0 / 434.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3525, allocations: 0 / 434.3 MB, free: 7.289 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001278/0.3538, allocations: 0.8105 MB / 435.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3538, allocations: 10.19 kB / 435.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.932e-05/0.3539, allocations: 79.23 kB / 435.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.3541, allocations: 68.58 kB / 435.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.3546, allocations: 381.3 kB / 435.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.3546, allocations: 39.2 kB / 435.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.3547, allocations: 50.08 kB / 435.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.3554, allocations: 461 kB / 436.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.3555, allocations: 4.5 kB / 436.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.3555, allocations: 14.47 kB / 436.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.3555, allocations: 11.52 kB / 436.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.3561, allocations: 325.3 kB / 436.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.3584, allocations: 1.854 MB / 438.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.359, allocations: 0.5659 MB / 438.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.3596, allocations: 250.8 kB / 439.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.3596, allocations: 5.016 kB / 439.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.3601, allocations: 272.2 kB / 439.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.3601, allocations: 1.406 kB / 439.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002188/0.3623, allocations: 0.8344 MB / 440.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3623, allocations: 91.06 kB / 440.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.3626, allocations: 322.8 kB / 440.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3627, allocations: 37.78 kB / 440.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3628, allocations: 220.8 kB / 440.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.3629, allocations: 141.9 kB / 441.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.363, allocations: 92.38 kB / 441.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.3631, allocations: 351.9 kB / 441.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3633, allocations: 121.6 kB / 441.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3636, allocations: 251.6 kB / 441.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.3641, allocations: 373.8 kB / 442.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3641, allocations: 1.156 kB / 442.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008103/0.3649, allocations: 0.5062 MB / 442.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.3649, allocations: 6.812 kB / 442.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3649, allocations: 4.734 kB / 442.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/0.3655, allocations: 159.7 kB / 442.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3657, allocations: 67.06 kB / 443 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.3683, allocations: 2.541 MB / 445.5 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.3686, allocations: 48.06 kB / 445.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.3686, allocations: 13.91 kB / 445.6 MB, free: 376 kB / 350.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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.3688, allocations: 179.8 kB / 445.7 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.3689, allocations: 40.67 kB / 445.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.369, allocations: 53.86 kB / 445.8 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.369, allocations: 4.438 kB / 445.8 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.369, allocations: 4 kB / 445.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.369, allocations: 4.297 kB / 445.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3707, allocations: 1.032 MB / 446.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3707, allocations: 1.344 kB / 446.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3709, allocations: 34.55 kB / 446.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.3713, allocations: 145.8 kB / 447 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3713, allocations: 8.203 kB / 447.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.3744, allocations: 2.546 MB / 449.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3744, allocations: 1.375 kB / 449.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3757, allocations: 0.7039 MB / 450.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.3759, allocations: 158.8 kB / 450.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.3759, allocations: 19.97 kB / 450.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3761, allocations: 13.06 kB / 450.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3763, allocations: 37.52 kB / 450.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.3763, allocations: 14.98 kB / 450.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.3766, allocations: 224.1 kB / 450.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3766, allocations: 0 / 450.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006841/0.3772, allocations: 144.4 kB / 450.9 MB, free: 12.77 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/0.3788, allocations: 1.278 MB / 452.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3799, allocations: 0.5219 MB / 452.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3799, allocations: 0 / 452.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.3805, allocations: 377.6 kB / 453.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.381, allocations: 80.91 kB / 453.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.3869, allocations: 3.977 MB / 457.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.3874, allocations: 0.8315 MB / 458 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.3876, allocations: 40.41 kB / 458 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.3878, allocations: 146.3 kB / 458.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3878, allocations: 0 / 458.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/0.4363, allocations: 11.02 MB / 469.2 MB, free: 3.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.75, allocations: 11.72 kB / 469.2 MB, free: 3.754 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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: 15.237249278929085]