Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001995/0.001995, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002403/0.002403, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.89 kB / 377.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2291, allocations: 53.41 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00647/0.2356, allocations: 4.335 MB / 435.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.2384, allocations: 1.328 MB / 436.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.2389, allocations: 35.75 kB / 436.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006786/0.2395, allocations: 226.4 kB / 437.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009328/0.2405, allocations: 378 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.241, allocations: 223.6 kB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.2427, allocations: 1.565 MB / 439.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.2436, allocations: 0.5438 MB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2446, allocations: 0.6698 MB / 440.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.2458, allocations: 0.7744 MB / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.2461, allocations: 171.9 kB / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.2464, allocations: 172 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.2468, allocations: 442.7 kB / 442 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.2476, allocations: 0.5873 MB / 442.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.2498, allocations: 2.131 MB / 444.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2498, allocations: 0 / 444.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.2498, allocations: 0 / 444.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.743e-05/0.2498, allocations: 0 / 444.7 MB, free: 8.824 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00359/0.2534, allocations: 1.9 MB / 446.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.2535, allocations: 15.98 kB / 446.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.2537, allocations: 156.4 kB / 446.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.2542, allocations: 172 kB / 446.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.256, allocations: 0.9086 MB / 447.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.2561, allocations: 74.38 kB / 447.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.2563, allocations: 103.9 kB / 448 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.259, allocations: 1.493 MB / 449.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.259, allocations: 8 kB / 449.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.2591, allocations: 36 kB / 449.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.2592, allocations: 38 kB / 449.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.2615, allocations: 1.3 MB / 450.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/0.2685, allocations: 3.924 MB / 454.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.2702, allocations: 0.9946 MB / 455.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.2715, allocations: 0.6767 MB / 456.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.2716, allocations: 8.656 kB / 456.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.2726, allocations: 0.6516 MB / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.555e-06/0.2726, allocations: 0 / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007704/0.2803, allocations: 2.747 MB / 459.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2804, allocations: 119.5 kB / 460 MB, free: 9.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.2817, allocations: 0.8441 MB / 460.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.2818, allocations: 41.7 kB / 460.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.2823, allocations: 0.4968 MB / 461.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.2825, allocations: 257.9 kB / 461.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.2828, allocations: 134.7 kB / 461.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2829, allocations: 334 kB / 462.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/0.2836, allocations: 393.7 kB / 462.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.2845, allocations: 0.5957 MB / 463.1 MB, free: 6.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.286, allocations: 0.9132 MB / 464 MB, free: 5.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.286, allocations: 7.938 kB / 464 MB, free: 5.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002547/0.2885, allocations: 1.298 MB / 465.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.2886, allocations: 8 kB / 465.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.2886, allocations: 4 kB / 465.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.2898, allocations: 464.4 kB / 465.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.2902, allocations: 91.88 kB / 465.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008136/0.2983, allocations: 5.419 MB / 471.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.299, allocations: 87.53 kB / 471.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.299, allocations: 24 kB / 471.4 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0007485/0.2998, allocations: 474.7 kB / 471.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.3, allocations: 91.44 kB / 471.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.3002, allocations: 108.7 kB / 472 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3002, allocations: 8 kB / 472.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3002, allocations: 0 / 472.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3002, allocations: 3.984 kB / 472.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004567/0.3048, allocations: 2.438 MB / 474.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3048, allocations: 0 / 474.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.3051, allocations: 63.91 kB / 474.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.3062, allocations: 460.2 kB / 475 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.3062, allocations: 15.98 kB / 475 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008001/0.3142, allocations: 5.344 MB / 480.4 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3142, allocations: 11.94 kB / 480.4 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.3177, allocations: 1.894 MB / 482.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/0.3185, allocations: 211.2 kB / 482.5 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.3188, allocations: 12 kB / 482.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.3193, allocations: 40.05 kB / 482.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.3196, allocations: 84.48 kB / 482.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.3197, allocations: 24 kB / 482.6 MB, free: 2.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.3209, allocations: 0.6043 MB / 483.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3209, allocations: 0 / 483.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001248/0.3221, allocations: 347.3 kB / 483.6 MB, free: 1.16 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003805/0.326, allocations: 2.472 MB / 486.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.3283, allocations: 1.251 MB / 487.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3283, allocations: 0 / 487.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.3298, allocations: 0.7936 MB / 488.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.3313, allocations: 285.8 kB / 488.4 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.349, allocations: 9.844 MB / 498.2 MB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.35, allocations: 0.7343 MB / 499 MB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.3505, allocations: 147.4 kB / 499.1 MB, free: 1.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/0.3511, allocations: 387.3 kB / 499.5 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3511, allocations: 0 / 499.5 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07642/0.4275, allocations: 29.95 MB / 0.517 GB, free: 3.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.92, allocations: 7.875 kB / 0.517 GB, free: 3.305 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.528164682909846]