Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 123.9 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.2 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 48.02 kB / 365.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 52.15 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00815/0.1131, allocations: 6.263 MB / 424 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1174, allocations: 2.141 MB / 426.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.1181, allocations: 19.94 kB / 426.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.12, allocations: 0.753 MB / 427 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.1219, allocations: 0.765 MB / 427.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.123, allocations: 0.4987 MB / 428.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1245, allocations: 1.172 MB / 429.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.1257, allocations: 0.6753 MB / 430.1 MB, free: 344 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.1264, allocations: 458.3 kB / 430.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.1271, allocations: 0.5251 MB / 431 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1273, allocations: 120 kB / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.1279, allocations: 267.8 kB / 431.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.1281, allocations: 247.1 kB / 431.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000533/0.1286, allocations: 0.5403 MB / 432.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.1304, allocations: 1.455 MB / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1304, allocations: 0 / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1304, allocations: 0 / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.1304, allocations: 0 / 433.7 MB, free: 12.73 MB / 366.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.003221/0.1337, allocations: 1.458 MB / 435.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1337, allocations: 8.031 kB / 435.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.1339, allocations: 162.4 kB / 435.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.1361, allocations: 376 kB / 435.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.1371, allocations: 0.5582 MB / 436.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.1372, allocations: 78.36 kB / 436.3 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.1374, allocations: 112.3 kB / 436.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.1392, allocations: 1.02 MB / 437.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.1393, allocations: 4 kB / 437.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.1394, allocations: 48 kB / 437.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.1394, allocations: 24 kB / 437.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.1411, allocations: 0.8588 MB / 438.4 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.1467, allocations: 3.508 MB / 441.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.1491, allocations: 1.843 MB / 443.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009372/0.15, allocations: 407.5 kB / 444.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.1502, allocations: 101.7 kB / 444.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/0.1511, allocations: 0.489 MB / 444.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.975e-06/0.1511, allocations: 0 / 444.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.2201/0.3712, allocations: 1.675 MB / 446.4 MB, free: 30.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.3713, allocations: 198.2 kB / 446.6 MB, free: 29.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.3718, allocations: 456.1 kB / 447 MB, free: 29.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.3718, allocations: 44.3 kB / 447 MB, free: 29.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.3721, allocations: 424.5 kB / 447.5 MB, free: 29.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.3723, allocations: 286.5 kB / 447.7 MB, free: 29.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.3725, allocations: 163.1 kB / 447.9 MB, free: 29.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.3726, allocations: 368.3 kB / 448.3 MB, free: 29.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.3731, allocations: 266.8 kB / 448.5 MB, free: 29.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.3737, allocations: 490 kB / 449 MB, free: 28.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3748, allocations: 0.7408 MB / 449.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3748, allocations: 0 / 449.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001759/0.3765, allocations: 1.009 MB / 450.7 MB, free: 28.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3765, allocations: 10.97 kB / 450.8 MB, free: 28.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3766, allocations: 7.016 kB / 450.8 MB, free: 28.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008764/0.3774, allocations: 273.9 kB / 451 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.378, allocations: 142.5 kB / 451.2 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/0.3831, allocations: 4.863 MB / 456 MB, free: 25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.3838, allocations: 93.05 kB / 456.1 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.3839, allocations: 35.5 kB / 456.2 MB, free: 24.96 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.0004274/0.3843, allocations: 252.9 kB / 456.4 MB, free: 24.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3845, allocations: 76.41 kB / 456.5 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.3866, allocations: 0.9522 MB / 457.4 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.3866, allocations: 9.094 kB / 457.4 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3866, allocations: 1.406 kB / 457.4 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.3866, allocations: 5.562 kB / 457.4 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.3901, allocations: 1.9 MB / 459.3 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3901, allocations: 1.812 kB / 459.4 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/0.3905, allocations: 95.77 kB / 459.4 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008056/0.3913, allocations: 268.8 kB / 459.7 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.3914, allocations: 19.28 kB / 459.7 MB, free: 23.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/0.3962, allocations: 4.812 MB / 464.5 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3962, allocations: 1.562 kB / 464.5 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.399, allocations: 1.369 MB / 465.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.3994, allocations: 223 kB / 466.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3996, allocations: 16.28 kB / 466.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.4, allocations: 43.14 kB / 466.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.4002, allocations: 67.92 kB / 466.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.4003, allocations: 27.88 kB / 466.3 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004831/0.4008, allocations: 313.3 kB / 466.6 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4008, allocations: 1.562 kB / 466.6 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001357/0.4021, allocations: 311.8 kB / 466.9 MB, free: 18.18 MB / 366.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.002956/0.4051, allocations: 1.969 MB / 468.9 MB, free: 16.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.4077, allocations: 1.04 MB / 469.9 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4077, allocations: 2.781 kB / 469.9 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.409, allocations: 0.7092 MB / 470.6 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.41, allocations: 123 kB / 470.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.4219, allocations: 6.415 MB / 477.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.4227, allocations: 0.9945 MB / 478.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.4232, allocations: 86.3 kB / 478.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.4236, allocations: 323.9 kB / 478.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4236, allocations: 0 / 478.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.4816, allocations: 19.3 MB / 497.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.37, allocations: 12.23 kB / 497.9 MB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.478860926814377]