Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001743/0.001743, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002095/0.002095, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 49.15 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006945/0.2967, allocations: 6.324 MB / 402.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.301, allocations: 2.194 MB / 404.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006591/0.3016, allocations: 25.53 kB / 404.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.3035, allocations: 0.7561 MB / 405.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.3053, allocations: 0.624 MB / 406.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3064, allocations: 0.5051 MB / 406.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3079, allocations: 1.194 MB / 408 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.309, allocations: 0.771 MB / 408.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.3096, allocations: 487 kB / 409.2 MB, free: 408 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.3103, allocations: 0.5504 MB / 409.8 MB, free: 112 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.3104, allocations: 111 kB / 409.9 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.311, allocations: 275.4 kB / 410.2 MB, free: 48 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.3112, allocations: 252.8 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005656/0.3118, allocations: 0.5504 MB / 411 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.3142, allocations: 1.463 MB / 412.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3142, allocations: 1.344 kB / 412.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3142, allocations: 3.938 kB / 412.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.89e-05/0.3142, allocations: 0 / 412.4 MB, free: 14.72 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00374/0.3179, allocations: 1.677 MB / 414.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.318, allocations: 13.92 kB / 414.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.3182, allocations: 169 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/0.3212, allocations: 477.8 kB / 414.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3223, allocations: 0.5182 MB / 415.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.3224, allocations: 77.3 kB / 415.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3225, allocations: 107 kB / 415.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.3247, allocations: 1.055 MB / 416.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.3247, allocations: 5.344 kB / 416.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.3248, allocations: 41.03 kB / 416.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3249, allocations: 24.59 kB / 416.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.3267, allocations: 0.923 MB / 417.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/0.3332, allocations: 3.468 MB / 421 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.3352, allocations: 0.9192 MB / 421.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/0.3361, allocations: 403.8 kB / 422.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.3362, allocations: 23.98 kB / 422.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009106/0.3371, allocations: 0.4989 MB / 422.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.945e-06/0.3371, allocations: 0 / 422.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.004387/0.3415, allocations: 1.49 MB / 424.3 MB, free: 7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.3417, allocations: 198.3 kB / 424.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.3423, allocations: 476.7 kB / 424.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3424, allocations: 45.7 kB / 425 MB, free: 6.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.3428, allocations: 444.7 kB / 425.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.3431, allocations: 301.4 kB / 425.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.3433, allocations: 162.6 kB / 425.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.3436, allocations: 378.8 kB / 426.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.3441, allocations: 269.9 kB / 426.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008462/0.345, allocations: 0.5161 MB / 427 MB, free: 4.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3464, allocations: 0.8031 MB / 427.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3464, allocations: 0 / 427.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002165/0.3485, allocations: 1.068 MB / 428.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3486, allocations: 8 kB / 428.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3486, allocations: 8 kB / 428.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.3495, allocations: 273.7 kB / 429.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.3501, allocations: 159.7 kB / 429.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/0.3563, allocations: 4.647 MB / 434 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007601/0.357, allocations: 115.4 kB / 434.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.3571, allocations: 39.94 kB / 434.1 MB, free: 12.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0004734/0.3576, allocations: 253.6 kB / 434.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3577, allocations: 75.53 kB / 434.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3598, allocations: 0.9713 MB / 435.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3599, allocations: 8 kB / 435.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3599, allocations: 0 / 435.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3599, allocations: 7.922 kB / 435.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.3634, allocations: 1.904 MB / 437.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3634, allocations: 4 kB / 437.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3639, allocations: 95.88 kB / 437.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/0.3647, allocations: 265.7 kB / 437.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.3647, allocations: 19.98 kB / 437.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00586/0.3706, allocations: 4.607 MB / 442.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3706, allocations: 4.031 kB / 442.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.3735, allocations: 1.373 MB / 443.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.3739, allocations: 143.3 kB / 443.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.3741, allocations: 20 kB / 443.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.3745, allocations: 47.91 kB / 443.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.3747, allocations: 72.86 kB / 444 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.3748, allocations: 23.98 kB / 444 MB, free: 2.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004927/0.3753, allocations: 318.9 kB / 444.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3753, allocations: 0 / 444.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001183/0.3764, allocations: 319.3 kB / 444.6 MB, free: 1.828 MB / 350.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,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.003236/0.3797, allocations: 1.968 MB / 446.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.3819, allocations: 1.069 MB / 447.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3819, allocations: 7.922 kB / 447.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.3832, allocations: 0.7127 MB / 448.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.3839, allocations: 118.5 kB / 448.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3951, allocations: 6.664 MB / 455.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.3959, allocations: 0.9983 MB / 456.2 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003787/0.3963, allocations: 93.64 kB / 456.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.3967, allocations: 331.3 kB / 456.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3967, allocations: 0 / 456.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06983/0.4665, allocations: 20.35 MB / 476.9 MB, free: 1.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/17.58, allocations: 3.938 kB / 476.9 MB, free: 1.023 MB / 382.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 20.803081325953826]