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.00167/0.00167, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002108/0.002108, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00152/0.00152, allocations: 48.06 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 53.37 MB / 431.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007612/0.2419, allocations: 5.595 MB / 436.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.246, allocations: 2.126 MB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.2464, allocations: 23.88 kB / 438.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2483, allocations: 0.7069 MB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.2496, allocations: 0.5939 MB / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2507, allocations: 0.5143 MB / 440.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.252, allocations: 1.191 MB / 441.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2531, allocations: 0.769 MB / 442.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.2537, allocations: 486.2 kB / 443.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.2544, allocations: 0.5406 MB / 443.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.2546, allocations: 112 kB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.2551, allocations: 279.9 kB / 444 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.2553, allocations: 255.1 kB / 444.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.2558, allocations: 453.8 kB / 444.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.2574, allocations: 1.494 MB / 446.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2574, allocations: 0 / 446.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.548e-06/0.2574, allocations: 4 kB / 446.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.2574, allocations: 3.938 kB / 446.2 MB, free: 7.594 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.003314/0.2608, allocations: 1.67 MB / 447.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2608, allocations: 12.03 kB / 447.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/0.261, allocations: 162.3 kB / 448 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.2636, allocations: 399.9 kB / 448.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.2646, allocations: 0.5094 MB / 448.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.2647, allocations: 82.38 kB / 449 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.2648, allocations: 104.4 kB / 449.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.2668, allocations: 1.124 MB / 450.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.2668, allocations: 0 / 450.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.2669, allocations: 44 kB / 450.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.267, allocations: 24 kB / 450.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.2687, allocations: 0.8588 MB / 451.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.274, allocations: 3.104 MB / 454.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.276, allocations: 0.8467 MB / 455.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/0.2768, allocations: 399.5 kB / 455.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.277, allocations: 24.64 kB / 455.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.278, allocations: 0.5934 MB / 456.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.766e-06/0.278, allocations: 0 / 456.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004583/0.2826, allocations: 1.481 MB / 457.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.2827, allocations: 205 kB / 457.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.2834, allocations: 489.9 kB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.2835, allocations: 41.7 kB / 458.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.2838, allocations: 424.7 kB / 458.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.2841, allocations: 297.5 kB / 459 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.2844, allocations: 154.6 kB / 459.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.2846, allocations: 370.8 kB / 459.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.2852, allocations: 269.9 kB / 459.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008574/0.286, allocations: 0.5878 MB / 460.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2874, allocations: 0.7356 MB / 461.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2874, allocations: 4 kB / 461.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002304/0.2897, allocations: 1.01 MB / 462.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2897, allocations: 12.03 kB / 462.2 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2897, allocations: 4 kB / 462.2 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/0.2907, allocations: 267.4 kB / 462.4 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.2913, allocations: 143.7 kB / 462.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/0.2974, allocations: 4.612 MB / 467.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.2981, allocations: 99.38 kB / 467.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.2981, allocations: 36.06 kB / 467.3 MB, free: 1.633 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.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.0004402/0.2986, allocations: 249.6 kB / 467.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2987, allocations: 79.59 kB / 467.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.3009, allocations: 0.9555 MB / 468.6 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3009, allocations: 8 kB / 468.6 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3009, allocations: 3.938 kB / 468.6 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3009, allocations: 3.984 kB / 468.6 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.3043, allocations: 1.764 MB / 470.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3043, allocations: 0 / 470.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.3048, allocations: 103.8 kB / 470.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/0.3056, allocations: 249.6 kB / 470.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.3057, allocations: 27.91 kB / 470.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.3113, allocations: 4.548 MB / 475.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3113, allocations: 0 / 475.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.3142, allocations: 1.377 MB / 476.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.3145, allocations: 131.3 kB / 476.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3147, allocations: 24 kB / 476.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.3152, allocations: 39.97 kB / 476.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.3154, allocations: 72.86 kB / 476.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.3154, allocations: 27.98 kB / 477 MB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004261/0.3159, allocations: 322.9 kB / 477.3 MB, free: 7.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3159, allocations: 0 / 477.3 MB, free: 7.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001134/0.317, allocations: 323.3 kB / 477.6 MB, free: 7.012 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,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.003231/0.3202, allocations: 1.977 MB / 479.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.3224, allocations: 1.06 MB / 480.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3224, allocations: 4 kB / 480.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.3236, allocations: 0.7089 MB / 481.3 MB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.3243, allocations: 124.9 kB / 481.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3356, allocations: 6.516 MB / 488 MB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3361, allocations: 416.5 kB / 488.4 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.3365, allocations: 85.47 kB / 488.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.3369, allocations: 331.3 kB / 488.8 MB, free: 11.43 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3369, allocations: 0 / 488.8 MB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/0.3988, allocations: 20.39 MB / 0.4972 GB, free: 7.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.06, allocations: 7.922 kB / 0.4972 GB, free: 7.363 MB / 414.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 16.195221415022388]