Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8757/0.8757, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.209e-05, allocations: 13.31 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00519/0.005212, allocations: 5.593 MB / 330.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.008149, allocations: 2.133 MB / 332.3 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.008528, allocations: 27.88 kB / 332.3 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.00973, allocations: 0.7389 MB / 333.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.01059, allocations: 0.6244 MB / 333.7 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.01122, allocations: 0.5142 MB / 334.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.01214, allocations: 1.23 MB / 335.4 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009491/0.01309, allocations: 0.7455 MB / 336.2 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.01378, allocations: 0.6937 MB / 336.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.01415, allocations: 410.8 kB / 337.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.01426, allocations: 112 kB / 337.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.01461, allocations: 275.6 kB / 337.7 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.01474, allocations: 255 kB / 337.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.01499, allocations: 379 kB / 338.3 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.01614, allocations: 1.53 MB / 339.8 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01614, allocations: 4 kB / 339.8 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01614, allocations: 0 / 339.8 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.01617, allocations: 0 / 339.8 MB, free: 0.6172 MB / 298.7 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.002269/0.01843, allocations: 1.657 MB / 341.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.01847, allocations: 8.031 kB / 341.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.01864, allocations: 166.4 kB / 341.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.01983, allocations: 395.9 kB / 342 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.02043, allocations: 0.5242 MB / 342.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.02048, allocations: 78.38 kB / 342.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.02057, allocations: 96.38 kB / 342.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.02169, allocations: 1.132 MB / 343.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.02172, allocations: 4.188 kB / 343.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.02177, allocations: 43.94 kB / 343.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.02179, allocations: 24 kB / 343.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.02294, allocations: 0.8472 MB / 344.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.02608, allocations: 3.102 MB / 347.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.0272, allocations: 0.8596 MB / 348.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.02771, allocations: 403.5 kB / 349.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.585e-05/0.02777, allocations: 24.62 kB / 349.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005708/0.02834, allocations: 0.5895 MB / 349.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 1.783e-06/0.02835, allocations: 0 / 349.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.002457/0.0308, allocations: 1.485 MB / 351.2 MB, free: 4.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.03087, allocations: 192.9 kB / 351.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.03124, allocations: 493.9 kB / 351.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.03128, allocations: 41.7 kB / 351.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.03147, allocations: 432.8 kB / 352.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.03161, allocations: 289.5 kB / 352.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.03176, allocations: 158.6 kB / 352.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.03187, allocations: 382.7 kB / 353.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.03221, allocations: 261.9 kB / 353.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.03267, allocations: 0.5762 MB / 354 MB, free: 1.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.03344, allocations: 0.7395 MB / 354.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.03345, allocations: 0 / 354.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001214/0.03466, allocations: 1.025 MB / 355.8 MB, free: 32 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.03468, allocations: 8 kB / 355.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.03469, allocations: 8 kB / 355.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.03522, allocations: 261.6 kB / 356 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.0355, allocations: 143.7 kB / 356.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/0.03895, allocations: 4.601 MB / 360.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.03924, allocations: 99.44 kB / 360.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.03928, allocations: 32 kB / 360.9 MB, free: 10.67 MB / 330.7 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.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.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.0002325/0.03951, allocations: 250.2 kB / 361.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.03958, allocations: 75.52 kB / 361.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.04075, allocations: 0.9554 MB / 362.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.04075, allocations: 8 kB / 362.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.04075, allocations: 11.94 kB / 362.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.04076, allocations: 3.984 kB / 362.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.04262, allocations: 1.756 MB / 364 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.04262, allocations: 8.031 kB / 364 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.04283, allocations: 99.81 kB / 364.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.04326, allocations: 252.9 kB / 364.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.04329, allocations: 23.98 kB / 364.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.04641, allocations: 4.56 MB / 368.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.04641, allocations: 0 / 368.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.04798, allocations: 1.37 MB / 370.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.04814, allocations: 139.3 kB / 370.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.04819, allocations: 23.94 kB / 370.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.04841, allocations: 40.16 kB / 370.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.04852, allocations: 76.86 kB / 370.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.04855, allocations: 27.92 kB / 370.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002242/0.04877, allocations: 326.9 kB / 370.9 MB, free: 364 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04877, allocations: 3.938 kB / 370.9 MB, free: 360 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006161/0.04939, allocations: 307.4 kB / 371.2 MB, free: 52 kB / 330.7 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,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.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.001878/0.05127, allocations: 1.976 MB / 373.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.05238, allocations: 1.046 MB / 374.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.05239, allocations: 4.188 kB / 374.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.05301, allocations: 0.7042 MB / 374.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.05339, allocations: 128.8 kB / 375 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.05983, allocations: 6.498 MB / 381.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.06011, allocations: 408.5 kB / 381.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.06031, allocations: 89.47 kB / 382 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.06057, allocations: 332.4 kB / 382.4 MB, free: 4.496 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.06057, allocations: 0 / 382.4 MB, free: 4.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.09574, allocations: 20.27 MB / 402.6 MB, free: 0.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.079, allocations: 11.09 kB / 402.6 MB, free: 0.4922 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.126894325017929]