Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.001441/0.001441, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001411/0.001411, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.486/1.486, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.91 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1145, allocations: 53.32 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2395/0.354, allocations: 6.307 MB / 433 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.3582, allocations: 2.253 MB / 435.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009103/0.3591, allocations: 20.28 kB / 435.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3613, allocations: 0.7648 MB / 436 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.3635, allocations: 0.6104 MB / 436.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.3651, allocations: 0.5262 MB / 437.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.367, allocations: 1.203 MB / 438.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3682, allocations: 0.6774 MB / 439 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.3691, allocations: 470.7 kB / 439.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.3699, allocations: 0.5457 MB / 440 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.3701, allocations: 110.2 kB / 440.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.371, allocations: 282 kB / 440.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.3712, allocations: 253.4 kB / 440.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.3719, allocations: 0.5471 MB / 441.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.3744, allocations: 1.493 MB / 442.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3744, allocations: 0 / 442.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3744, allocations: 1.219 kB / 442.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.456e-05/0.3744, allocations: 4 kB / 442.7 MB, free: 4.16 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.003976/0.3784, allocations: 1.475 MB / 444.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.3785, allocations: 9.094 kB / 444.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.3787, allocations: 161.2 kB / 444.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.3815, allocations: 391.2 kB / 444.7 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3826, allocations: 0.5999 MB / 445.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.3827, allocations: 75.25 kB / 445.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.3829, allocations: 100.5 kB / 445.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.3848, allocations: 1.028 MB / 446.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.3848, allocations: 1.312 kB / 446.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/0.3849, allocations: 42.61 kB / 446.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.3849, allocations: 24.78 kB / 446.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.3866, allocations: 0.8587 MB / 447.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.3924, allocations: 3.618 MB / 451.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.395, allocations: 1.818 MB / 452.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3961, allocations: 419.8 kB / 453.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.3963, allocations: 179.2 kB / 453.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.3974, allocations: 0.4932 MB / 454 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.3974, allocations: 0 / 454 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004869/0.4023, allocations: 1.671 MB / 455.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.4024, allocations: 193.7 kB / 455.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.4031, allocations: 485 kB / 456.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4032, allocations: 46.38 kB / 456.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.4037, allocations: 432.3 kB / 456.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.404, allocations: 289.6 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.4042, allocations: 154.9 kB / 457.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.4045, allocations: 373.7 kB / 457.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.405, allocations: 268.4 kB / 457.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.4058, allocations: 493 kB / 458.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.4071, allocations: 0.7522 MB / 459.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4071, allocations: 2.5 kB / 459.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002257/0.4094, allocations: 1.019 MB / 460.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4094, allocations: 8.25 kB / 460.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.4094, allocations: 5.688 kB / 460.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009266/0.4103, allocations: 265.7 kB / 460.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.4109, allocations: 143.8 kB / 460.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.4174, allocations: 4.872 MB / 465.4 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008971/0.4183, allocations: 102.8 kB / 465.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.4184, allocations: 30.5 kB / 465.5 MB, free: 5.035 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005449/0.419, allocations: 244.8 kB / 465.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4191, allocations: 74.55 kB / 465.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.4213, allocations: 0.9561 MB / 466.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4213, allocations: 8.031 kB / 466.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4213, allocations: 0.9375 kB / 466.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4213, allocations: 5.047 kB / 466.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.4251, allocations: 1.906 MB / 468.7 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4251, allocations: 3.938 kB / 468.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.4255, allocations: 100.4 kB / 468.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/0.4264, allocations: 260.3 kB / 469 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.4265, allocations: 17.5 kB / 469.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006028/0.4325, allocations: 4.824 MB / 473.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4325, allocations: 1.281 kB / 473.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.4353, allocations: 1.363 MB / 475.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.4358, allocations: 219.4 kB / 475.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4359, allocations: 17.62 kB / 475.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.4364, allocations: 41.09 kB / 475.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4366, allocations: 76.03 kB / 475.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.4367, allocations: 29.02 kB / 475.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004462/0.4371, allocations: 325.2 kB / 475.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4371, allocations: 2 kB / 475.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001267/0.4384, allocations: 312.1 kB / 476.3 MB, free: 13.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003278/0.4417, allocations: 1.965 MB / 478.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.444, allocations: 1.046 MB / 479.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.444, allocations: 3.984 kB / 479.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.4454, allocations: 0.713 MB / 480 MB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.4463, allocations: 128.5 kB / 480.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.4585, allocations: 6.522 MB / 486.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.4593, allocations: 1.002 MB / 487.6 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004816/0.4598, allocations: 79.69 kB / 487.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.4603, allocations: 331.3 kB / 488 MB, free: 1.988 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4603, allocations: 4 kB / 488 MB, free: 1.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.064/0.5243, allocations: 19.72 MB / 0.4959 GB, free: 14.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.64, allocations: 0 / 0.4959 GB, free: 14.48 MB / 414.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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: 18.870875728316605]